Linux/Samba Machine & User Accounts for Samba PDC in samba-2.2.1a Question?

Linux/Samba Machine & User Accounts for Samba PDC in samba-2.2.1a Question?

Post by Phillip J. Alle » Thu, 13 Sep 2001 04:44:12



Hi all,

I am trying to configure a Linux server to be a PDC for Windows NT &
95/98 machines.  I can see my domain in the network neighborhood but
when I click it I cannot browse it.  I ran the entire DIAGNOSE.TXT and
all worked fine.

If I create a normal user account by:
adduser -g thedefaultgroup -c 'The User Name' -s /bin/false -n theuser
passwd theuser
smbpasswd -a theuser

After adding this user I can map a network drive in my windows NT
machine and I can connect to my postgresql database.  But I cannot
change the domain name on the NT client to the samba domain.  So I
deleted the account I just made and recreate it as a machine account by:

adduser -s /bin/false -d /dev/null theuser\$
passwd -l theuser\$
smbpasswd -a -m theuser$

Then I could change the domain but after a reboot of the window NT
client could not login and could not mount a drive.  So could someone
please explain to me exactly what I need to do to add a windows NTclient
to my samba domain.  Since this "machine account" has no home directory,
after my nt client logs into the system must I re-adduser him as a
normal user so he can have a home directory?  Also now after
adding/deleting/re-adding user my smbpasswd file has a few multiple
entries for the same user/machine.  Should I delete the old ones?

I have been reading the info in all the documentation and it seems
really contradictory.  Does anyone have any sugguestions?   Below I am
including my smb.conf file

Thanks,

Phillip J. Allen
Consulting Geochemist/Geologist
Lima Peru

#======================= Global Settings
=====================================
[global]
workgroup = mhcgeo01
announce as = NT Server

server string = MHC EXPLORACION GEOLOGIA LIMA RH7.1 LINUX SAMBA SERVER
hosts allow = 127.0.0.1 160.130.4 160.130.7
printcap name = /etc/printcap
load printers = yes
printing = bsd
guest account = pcguest
log file = /var/log/samba/log.%m
max log size = 500
security = user
password level = 128
username level = 128
encrypt passwords = yes
smb passwd file = /etc/samba/smbpasswd
socket options = TCP_NODELAY SO_RCVBUF=8192 SO_SNDBUF=8192
domain logons = yes
domain master = auto
netbios name =  mhcgeo01
status = yes
os level = 65

[netlogon]
path = /home/mhc/
writable = yes
guest ok = yes
browsable = yes
public = yes
locking =no
#============================ Share Definitions
==============================
[homes]
   comment = Home Directories
   browseable = yes
   writable = yes

# Un-comment the following and create the netlogon directory for Domain
Logons
; [netlogon]
;   comment = Network Logon Service
;   path = /home/netlogon
;   guest ok = yes
;   writable = no
;   share modes = no

# Un-comment the following to provide a specific roving profile share
# the default is to use the user's home directory
;[Profiles]
;    path = /home/profiles
;    browseable = no
;    guest ok = yes

 
 
 

Linux/Samba Machine & User Accounts for Samba PDC in samba-2.2.1a Question?

Post by Dean Thompso » Thu, 13 Sep 2001 19:16:33


Hi!,

Quote:> I am trying to configure a Linux server to be a PDC for Windows NT &
> 95/98 machines.  I can see my domain in the network neighborhood but
> when I click it I cannot browse it.  I ran the entire DIAGNOSE.TXT and
> all worked fine.

> If I create a normal user account by:
> adduser -g thedefaultgroup -c 'The User Name' -s /bin/false -n theuser
> passwd theuser
> smbpasswd -a theuser

> After adding this user I can map a network drive in my windows NT
> machine and I can connect to my postgresql database.  But I cannot
> change the domain name on the NT client to the samba domain.  So I
> deleted the account I just made and recreate it as a machine account by:

> adduser -s /bin/false -d /dev/null theuser\$
> passwd -l theuser\$
> smbpasswd -a -m theuser$

> Then I could change the domain but after a reboot of the window NT
> client could not login and could not mount a drive.  So could someone
> please explain to me exactly what I need to do to add a windows NTclient
> to my samba domain.  Since this "machine account" has no home directory,
> after my nt client logs into the system must I re-adduser him as a
> normal user so he can have a home directory?  Also now after
> adding/deleting/re-adding user my smbpasswd file has a few multiple
> entries for the same user/machine.  Should I delete the old ones?

Have you looked through the PDC documentation which is located on the SAMBA
site?  Additionally, have you created the "machine" accounts on the SAMBA
server ?

See ya

Dean Thompson

--
+____________________________+____________________________________________+

| Bach. Computing (Hons)     | ICQ     - 45191180                         |
| PhD Student                | Office  - <Off-Campus>                     |
| School Comp.Sci & Soft.Eng | Phone   - +61 3 9903 2787 (Gen. Office)    |
| MONASH (Caulfield Campus)  | Fax     - +61 3 9903 1077                  |
| Melbourne, Australia       |                                            |
+----------------------------+--------------------------------------------+

 
 
 

1. Cannot login W2K-SP2 onto Samba 2.2.1a PDC

Hey guys,

I can get NT to recognize and login to the Samba PDC, but W2KSP2 will not.
I'm not sure if it can't see the domain or if it just can't login.  What's
different between the NT and W2K setup for samba?  I've got trust accounts
for NT setup and followed the Samba-PDC-HOWTO, but no dice.  Any
suggestions?  I'm using Samba 2.2.1a which is supposed to support W2K-SP2.
Here's my smb.conf:

# Samba config file created using SWAT

# from localhost (127.0.0.1)

# Date: 2002/04/29 07:59:00

# Global parameters

[global]

workgroup = E&M

netbios name = EMSERV

server string = Samba Server

encrypt passwords = Yes

update encrypted = Yes

log file = /var/log/samba/%m.log

max log size = 0

socket options = TCP_NODELAY SO_RCVBUF=8192 SO_SNDBUF=8192

domain logons = Yes

os level = 64

preferred master = True

domain master = True

dns proxy = No

wins support = Yes

force create mode = 0777

force directory mode = 0777

printing = lprng

preserve case = No

short preserve case = No

[homes]

comment = Home Directories

valid users = %S

read only = No

create mask = 0664

directory mask = 0775

browseable = No

[printers]

comment = All Printers

path = /var/spool/samba

printable = Yes

browseable = No

[E&M]

comment = E & M Office files

path = /usr/em

read only = No

force create mode = 0771

force directory mode = 0771

[Public]

comment = public files

path = /usr/pub

force create mode = 0771

force directory mode = 0771

[Quotes]

path = /usr/em/QUOTES

force create mode = 0771

force directory mode = 0771

[QB]

path = /usr/em/QB

force create mode = 0771

force directory mode = 0771

[QBDATA]

path = /usr/em/QBDATA

force create mode = 0771

force directory mode = 0771

[MaintDB]

path = /usr/em/QBDATA

force create mode = 0771

force directory mode = 0771

[PartDB]

path = /usr/em/partdb

force create mode = 0771

force directory mode = 0771

[netlogon]

path = /usr/local/samba/lib/netlogon

write list = administrator administr8tor root

--
Stacey " Toolman" Sharp
E&M Services, Inc.
stacey(at)emservicesinc.com
knight_wolf_13(at)yahoo.com

2. Converting Lower Case to Upper Case

3. Linux and Stamps.com

4. SAMBA, SAMBA, SAMBA

5. ERROR MESSAGES

6. SAMBA PDC & Win2k Registry Write Access for users

7. problem with newform tab formatting

8. roaming profiles - win2k sp2 - samba-2.2.1a-15mdk - a few questions/concerns!!

9. A few questions regarding samba from a samba and windows rookie

10. Samba Performance - Not a samba question about Windows Pwd Encrypt!

11. Samba question: Win98 workstation with a private IP can't see Samba

12. Samba Question - How do I stop samba?