Re: [Samba] Re: USRMGR.EXE won't add user

2003-12-12 Thread Karel Kulhav
  long stupid passwd).  The user wasn't in the database. Then clicked OK.
 Never
  managed to add user this way.
 
  CVS head 2003-12-10: Access is denied
  3.0.1rc1:Access is denied
  3.0.1rc2:Access is denied
  3.0.0:   Access is denied
 
 I'm not sure if this is of any help, but did you map the NT groups to the
 Unix groups?
 i.e., net groupmap modify ntgroup=Domain Admins unixgroup=domadm?

Yes, this is my script that automatically sets up Samba for tests
(I run it after make install.)

  _
 /
| copy_samba
 \_
 /
| #!/bin/bash
| 
| spt=/usr/local/samba
| 
| cp $spt/my/my* $spt/bin/
| cp $spt/my/smb.conf $spt/lib/
| cp $spt/my/lmhosts $spt/lib/
| pdbedit -m -a -u neptun
| net groupmap modify ntgroup=Domain Admins unixgroup=domadm
| net groupmap modify ntgroup=Domain Users unixgroup=smbusers
| net groupmap modify ntgroup=Domain Guests unixgroup=nobody
| /etc/init.d/samba start
| echo Enter password for root:
| pdbedit -a -u root
| echo Enter password for test:
| pdbedit -a -u test
 \_


and from /etc/group:
domadm:x:412:admin,root

So that root is even a member of Domain Admins - and still I can't add users.
What can I do is move users into a group and change their description
from Windows.

Cl
 
 I think that I ran into similar problems when I upgraded from Samba 2.2.8a
 to 3.0, and it turned out that I hadn't correctly mapped the groups.
 
 Eddie
 
 
 
 -- 
 To unsubscribe from this list go to the following URL and read the
 instructions:  http://lists.samba.org/mailman/listinfo/samba
-- 
To unsubscribe from this list go to the following URL and read the
instructions:  http://lists.samba.org/mailman/listinfo/samba


[Samba] Re: USRMGR.EXE won't add user

2003-12-11 Thread Eddie
Karel Kulhavý [EMAIL PROTECTED] wrote in message
 Hello

 Tried to add user in user manager from domains, NT4.0 client, logged in as
root
 on the NT client.  Clicked New User, filled in nick, description, full
name,
 password1, password2 (was dead sure they were the same, carefully typed
9-chars
 long stupid passwd).  The user wasn't in the database. Then clicked OK.
Never
 managed to add user this way.

 CVS head 2003-12-10: Access is denied
 3.0.1rc1:Access is denied
 3.0.1rc2:Access is denied
 3.0.0:   Access is denied

I'm not sure if this is of any help, but did you map the NT groups to the
Unix groups?
i.e., net groupmap modify ntgroup=Domain Admins unixgroup=domadm?

I think that I ran into similar problems when I upgraded from Samba 2.2.8a
to 3.0, and it turned out that I hadn't correctly mapped the groups.

Eddie



-- 
To unsubscribe from this list go to the following URL and read the
instructions:  http://lists.samba.org/mailman/listinfo/samba