Re: [Samba] USRMGR.EXE administration: invalid syntax error message
3.0.1pre3 has failures with usmgr - Original Message - From: "Karel Kulhavý" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Friday, November 28, 2003 5:04 PM Subject: [Samba] USRMGR.EXE administration: invalid syntax error message > I try to admin Samba 3.0.0 and 3.0.1pre3 (tried both versions) NT4.0 > PDC with NT4.0 machine and NT4.0 USRMGR.EXE and get persistent error > message > > 1) The group name could not be found > 2) The user name could not be found > 3) The filename, directory name, or volume label syntax is incorrect. > > Loggin into domain under name: root > > I can see the user and group listing. When I click on a user to see > his details, I get message (2). When I click on a group to see it's details, > I get message (1). When I click on "Add New User" in the menu, I get message > (3). > > I have read mailing list postings indicating this works for other people. Am I > doing something wrong? Is there any specification I should read describing > under what circumstances should USRMGR.EXE administration work? > > Windows on client: NT4.0 (reinstalled from NT3.5 to NT4.0). > Tried also another NT4.0 box with the same result > Tried also XP box and running NT4.0 USRMGR.EXE -- the same result > > Samba: 3.0.0 and 3.0.1pre3 (tried first 3.0.1pre3 and then reinstalled > to 3.0.0 by compiling 3.0.0 and make install 3.0.0 with leaving the same > environment) > > Install path: default (./configure without parameters, path defaults > to /usr/local/samba/) Distribution: gentoo. > > smb.conf contents: > > # Samba config file created using SWAT > # from 127.0.0.1 (127.0.0.1) > # Date: 2003/11/19 15:51:41 > > # Global parameters > [global] > security = user > wins support = no > workgroup = KEVF_D4 > encrypt passwords = yes > domain logons = yes > null passwords = yes > interfaces = eth0 > preferred master = Yes > domain master = Yes > debuglevel = 3 > ldap ssl = no > hosts allow = 195.113.28.0/255.255.254.0 > admin users = admin,prech,root > hide local users = yes > > unix password sync = yes > passwd program = /bin/passwd > passwd chat = *ew*password* %n\n *new*password* %n\n > add user to group script = /usr/local/samba/bin/myaddusertogroup "%u" "%g" > add user script = /usr/sbin/useradd -c 'Samba User' -d /dev/null -g smbusers -s /bin/false %u > add machine script = /usr/sbin/useradd -c 'Machine' -d /dev/null -g machines -s /bin/false %u > add group script = /usr/local/samba/bin/mygroupadd "%g" > delete group script = /usr/local/samba/bin/mygroupdel "%g" > map to guest = Bad User > passdb backend = tdbsam > > logon drive = h: > logon home = \{}\{}oberon\{}%U > logon path = \{}\{}oberon\}{profiles\{}%U > > [netlogon] > path=/usr/local/samba/netlogon > read only = yes > guest ok = yes > browseable = yes > write list = admin prech root > locking = no > public = no > > [homes] > comment = Home Directories > browseable = no > writable = yes > > [admin] > comment = Admin Home > writable = yes > path = /home/admin > > [root] > comment = Root Home > writable = yes > path = /home/admin > > [linux] > comment = Linux Kernel Sources > path = /usr/src/linux > > [profiles] > create mode = 0600 > csc policy = disable > directory mode = 0700 > comment = Profiles > path = /usr/local/samba/profiles/ > profile acls = yes > read only = no > > permissions: > drwxrwxrwt root root /usr/local/samba/profiles > drwxrwxrwt root root /usr/local/samba/netlogon > contents of netlogon: only directory scripts (no ntconfig.pol) > > Group information /etc/group: > domain_users:x:410:root,admin,test > domad:x:412:admin,root > machines:x:408: > smbusers:x:407: > > bash-2.05b# net groupmap list > System Operators (S-1-5-32-549) -> -1 > Replicators (S-1-5-32-552) -> -1 > Guests (S-1-5-32-546) -> -1 > Domain Users (S-1-5-21-xx-yy-zz-513) -> smbusers > Power Users (S-1-5-32-547) -> -1 > Print Operators (S-1-5-32-550) -> -1 > Administrators (S-1-5-32-544) -> -1 > Account Operators (S-1-5-32-548) -> -1 > Domain Admins (S-1-5-21-xx-yy-zz-512) -> domadm > Domain Guests (S-1-5-21-xx-yy-zz-514) -> nobody > Backup Operators (S-1-5-32-551) -> -1 > Users (S-1-5-32-545) -> -1 > > bash-2.05b# pdbedit -Lv root > Unix username:root > NT username: > Account Flags:[U ] > User SID: S-1-5-21-1720464068-1560033322-1864438560-1000 > Primary Group SID:S-1-5-21-1720464068-1560033322-1864438560-1001 >
[Samba] USRMGR.EXE administration: invalid syntax error message
I try to admin Samba 3.0.0 and 3.0.1pre3 (tried both versions) NT4.0 PDC with NT4.0 machine and NT4.0 USRMGR.EXE and get persistent error message 1) The group name could not be found 2) The user name could not be found 3) The filename, directory name, or volume label syntax is incorrect. Loggin into domain under name: root I can see the user and group listing. When I click on a user to see his details, I get message (2). When I click on a group to see it's details, I get message (1). When I click on "Add New User" in the menu, I get message (3). I have read mailing list postings indicating this works for other people. Am I doing something wrong? Is there any specification I should read describing under what circumstances should USRMGR.EXE administration work? Windows on client: NT4.0 (reinstalled from NT3.5 to NT4.0). Tried also another NT4.0 box with the same result Tried also XP box and running NT4.0 USRMGR.EXE -- the same result Samba: 3.0.0 and 3.0.1pre3 (tried first 3.0.1pre3 and then reinstalled to 3.0.0 by compiling 3.0.0 and make install 3.0.0 with leaving the same environment) Install path: default (./configure without parameters, path defaults to /usr/local/samba/) Distribution: gentoo. smb.conf contents: # Samba config file created using SWAT # from 127.0.0.1 (127.0.0.1) # Date: 2003/11/19 15:51:41 # Global parameters [global] security = user wins support = no workgroup = KEVF_D4 encrypt passwords = yes domain logons = yes null passwords = yes interfaces = eth0 preferred master = Yes domain master = Yes debuglevel = 3 ldap ssl = no hosts allow = 195.113.28.0/255.255.254.0 admin users = admin,prech,root hide local users = yes unix password sync = yes passwd program = /bin/passwd passwd chat = *ew*password* %n\n *new*password* %n\n add user to group script = /usr/local/samba/bin/myaddusertogroup "%u" "%g" add user script = /usr/sbin/useradd -c 'Samba User' -d /dev/null -g smbusers -s /bin/false %u add machine script = /usr/sbin/useradd -c 'Machine' -d /dev/null -g machines -s /bin/false %u add group script = /usr/local/samba/bin/mygroupadd "%g" delete group script = /usr/local/samba/bin/mygroupdel "%g" map to guest = Bad User passdb backend = tdbsam logon drive = h: logon home = \{}\{}oberon\{}%U logon path = \{}\{}oberon\}{profiles\{}%U [netlogon] path=/usr/local/samba/netlogon read only = yes guest ok = yes browseable = yes write list = admin prech root locking = no public = no [homes] comment = Home Directories browseable = no writable = yes [admin] comment = Admin Home writable = yes path = /home/admin [root] comment = Root Home writable = yes path = /home/admin [linux] comment = Linux Kernel Sources path = /usr/src/linux [profiles] create mode = 0600 csc policy = disable directory mode = 0700 comment = Profiles path = /usr/local/samba/profiles/ profile acls = yes read only = no permissions: drwxrwxrwt root root /usr/local/samba/profiles drwxrwxrwt root root /usr/local/samba/netlogon contents of netlogon: only directory scripts (no ntconfig.pol) Group information /etc/group: domain_users:x:410:root,admin,test domad:x:412:admin,root machines:x:408: smbusers:x:407: bash-2.05b# net groupmap list System Operators (S-1-5-32-549) -> -1 Replicators (S-1-5-32-552) -> -1 Guests (S-1-5-32-546) -> -1 Domain Users (S-1-5-21-xx-yy-zz-513) -> smbusers Power Users (S-1-5-32-547) -> -1 Print Operators (S-1-5-32-550) -> -1 Administrators (S-1-5-32-544) -> -1 Account Operators (S-1-5-32-548) -> -1 Domain Admins (S-1-5-21-xx-yy-zz-512) -> domadm Domain Guests (S-1-5-21-xx-yy-zz-514) -> nobody Backup Operators (S-1-5-32-551) -> -1 Users (S-1-5-32-545) -> -1 bash-2.05b# pdbedit -Lv root Unix username:root NT username: Account Flags:[U ] User SID: S-1-5-21-1720464068-1560033322-1864438560-1000 Primary Group SID:S-1-5-21-1720464068-1560033322-1864438560-1001 Full Name:root Home Directory: \{}\{}oberon\{}root HomeDir Drive:h: Logon Script: Profile Path: \{}\{}oberon\}{profiles\{}root Domain: KEVF_D4 Account desc: Workstations: Munged dial: Logon time: 0 Logoff time: Fri, 13 Dec 1901 21:45:51 GMT Kickoff time: Fri, 13 Dec 1901 21:45:51 GMT Password last set:Fri, 28 Nov 2003 08:48:20 GMT Password can change: Fri, 28 Nov 2003 08:48:20 GMT Password must change: Fri, 13 Dec 1901 21:45:51 GMT Cl< -- To unsubscribe from this list go to the following URL and read the instructions: http://lists.samba.o