RE: [Samba] No local SID -- net getlocalsid fails

2004-04-22 Thread Andrew Bartlett
On Thu, 2004-04-22 at 00:11, John Arthur wrote:
  Excellent!!! Glad it worked out... Just curious... Did you run net rpc
  info prior to adding a user? If so, did it return the proper SID?
  
 
 
 Hi Marcus,
 
 Since I could repoduce the problem I tried a new setup. As you can see
 'net rpc info' returned no information. However as soon as I'd run
 'net rpc info' 'net getlocalsid' worked.

I *think* I have fixed this for 3.0.3 - we now always try to get or make
up a sid, before we report it.  This also ensures we get any SID that
may be present in LDAP, for example.

Andrew Bartlett

-- 
Andrew Bartlett [EMAIL PROTECTED]
Manager, Authentication Subsystems, Samba Team  [EMAIL PROTECTED]
Student Network Administrator, Hawker College   [EMAIL PROTECTED]
http://samba.org http://build.samba.org http://hawkerc.net


signature.asc
Description: This is a digitally signed message part
-- 
To unsubscribe from this list go to the following URL and read the
instructions:  http://lists.samba.org/mailman/listinfo/samba

RE: [Samba] No local SID -- net getlocalsid fails

2004-04-21 Thread John Arthur

 Excellent!!! Glad it worked out... Just curious... Did you run net rpc
 info prior to adding a user? If so, did it return the proper SID?
 


Hi Marcus,

Since I could repoduce the problem I tried a new setup. As you can see
'net rpc info' returned no information. However as soon as I'd run
'net rpc info' 'net getlocalsid' worked.


[EMAIL PROTECTED] samba]# net getlocalsid
[2004/04/21 23:32:09, 0] utils/net.c:net_getlocalsid(422)
  Can't fetch domain SID for name: RHO
[EMAIL PROTECTED] samba]# net rpc info
[EMAIL PROTECTED] samba]# net getlocalsid
SID for domain RHO is: S-1-5-21-xx-xx-x
[EMAIL PROTECTED] samba]# net rpc info


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


Re: [Samba] No local SID -- net getlocalsid fails

2004-04-19 Thread Marcus White
On Sun, 2004-04-18 at 01:37, John Arthur wrote:
 Hi,
 
 I'm trying to get Samba 3.0.2a running on a redhat 9 system. 
 No matter how long I leave samba running it fails to generate 
 a local SID for my network and I'm stumpped.
 
 The following is a dump of my smb.conf
 
 
 [EMAIL PROTECTED] samba]# net getlocalsid
 [2004/04/18 14:59:21, 0] utils/net.c:net_getlocalsid(422)
   Can't fetch domain SID for name: OMEGA
 
 
 Regards John
 
 
 [EMAIL PROTECTED] samba]# testparm
 Load smb config files from /etc/samba/smb.conf
 Processing section [homes]
 Processing section [printers]
 Loaded services file OK.
 Server role: ROLE_DOMAIN_PDC
 Press enter to see a dump of your service definitions
 
 # Global parameters
 [global]
 workgroup = FOXY
 netbios name = RALPH
 server string = PDC [Samba %v]
 interfaces = 172.30.128.0/17, 172.30.64.0/18
 passdb backend = tdbsam
 log level = 10
 log file = /var/log/samba/log.%m
 max log size = 50
 socket options = TCP_NODELAY SO_RCVBUF=8192 SO_SNDBUF=8192
 domain logons = Yes
 os level = 33
 preferred master = Yes
 domain master = Yes
 wins support = Yes
 hosts allow = 172.30., 127.
 
 [homes]
 comment = Home Directories
 read only = No
 browseable = No
 
 [printers]
 comment = All Printers
 path = /var/spool/samba
 printable = Yes

Try using 'net rpc info. Also, which computer is/was named OMEGA? Was
this the original name of the server?

Marcus O.

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


RE: [Samba] No local SID -- net getlocalsid fails

2004-04-19 Thread John Arthur
Hi Marcus,

The name OMEGA was just from a previous test.

I do not know if I found the problem but after I added a user 
with smbpasswd it started working!

ie; smbpasswd -a fred

Regards John

 
 Try using 'net rpc info. Also, which computer is/was named OMEGA? Was
 this the original name of the server?
 
 Marcus O.
 
 
-- 
To unsubscribe from this list go to the following URL and read the
instructions:  http://lists.samba.org/mailman/listinfo/samba


RE: [Samba] No local SID -- net getlocalsid fails

2004-04-19 Thread Marcus White
On Mon, 2004-04-19 at 07:31, John Arthur wrote:
 Hi Marcus,
 
 The name OMEGA was just from a previous test.
 
 I do not know if I found the problem but after I added a user 
 with smbpasswd it started working!
 
 ie; smbpasswd -a fred
 
 Regards John
 
  
  Try using 'net rpc info. Also, which computer is/was named OMEGA? Was
  this the original name of the server?
  
  Marcus O.
  
  

Excellent!!! Glad it worked out... Just curious... Did you run net rpc
info prior to adding a user? If so, did it return the proper SID?

Marcus O.

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