[Samba] samba account question

2003-01-22 Thread ni
In our ldap, we have people who are in the following objectclasses

top
person
inetOrgPerson
posixAccount
shadowAccount
customObjectClass:  


by doing a comparison of the exported .ldif files from a (test) person's 
entry before and after using 'smbpasswd -a' on a machine that is 
configured to make those changes back into the directory (instead of in 
the smbpasswd file) i discover that


in addition to
objectclass:  sambaAccount

i also have the following attributes

rid:
displayName:
logonTime: 0
primaryGroupID: 1201
objectClass: sambaAccount
acctFlags: [UX ]
logoffTime: 2147483647
kickoffTime: 2147483647
pwdLastSet: 1043292599
pwdCanChange: 0
pwdMustChange: 2147483647


I'm trying to build a php page that will promote a user to objectclass: 
sambaAccount -- my question is:  Can I just populate those attributes 
with the above default values?  DisplayName can be generated from cn or 
gecos.   Do i need to use a specific algorithm for generating an rid? 
Or can I just pick from a range of available numbers?

   thank you very much in advance for your time,
   ~c


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


[Samba] dns

2002-12-09 Thread ni
My problem is almost certainly that I've screwed up my local bind 
configuration (I have bind running on my LAN behind a NATted gateway). 
Until last week, samba was working just fine.  Obviously at some point 
last week I made a change to my zone files which meant that my yip.yay 
addresses no longer resolve (yip.yay is just a name i picked out of a 
hat -- i don't own the domain or anything, but since this is a private 
network i don't think it matters).  When I try to connect with another 
machine (prometheus -- 172.27.5.3 in this case) i see the following in 
/var/log/samba/log.prometheus:


[2002/12/03 20:20:45, 0] lib/util_sock.c:matchname(900)
  sys_gethostbyname(prometheus.yip.yay): lookup failure.
[2002/12/03 20:20:45, 0] lib/util_sock.c:get_socket_name(967)
  Matchname failed on prometheus.yip.yay 172.27.5.3


I definitely want to figure out what I did wrong with my bind 
configuration, but in the meantime is there a way that I can ask samba 
not to query dns so that samba will be usable until I get this fixed?

	thank you very much in advance for you time,

		~c

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