Koozali.org: home of the SME Server

Legacy Forums => Experienced User Forum => Topic started by: IS on February 20, 2003, 07:19:49 PM

Title: Windows Domain
Post by: IS on February 20, 2003, 07:19:49 PM
Hello,

I tried to put a Windows 2000 and Windows XP mamber of a domain, but I can't.
I've the same user with the same password in both (SME and Windows).

I have this error in the samba log (/var/log/samba/log.station1) :

[2003/02/20 16:52:40, 0] rpc_server/srv_samr_nt.c:_api_samr_create_user(1929)
  User station1$ does not exist in system password file (usually /etc/passwd). Cannot add account without a valid local system user.

[2003/02/20 16:52:41, 0] rpc_server/srv_netlog_nt.c:get_md4pw(176)
  get_md4pw: Workstation station1$: no account in domain


Thanks a lot for your help.
Title: Re: Windows Domain
Post by: IS on February 20, 2003, 08:12:20 PM
I fixe the problem ...

I had a duplicate entry in the smb.conf : the "add user script" value was included 2 times with different values.

I had this problem after the upgrade 4.1.2 -> 5.6.
Title: Re: Windows Domain
Post by: Charlie Brady on February 20, 2003, 10:17:11 PM
IS wrote:

> I fixe the problem ...
>
> I had a duplicate entry in the smb.conf : the "add user
> script" value was included 2 times with different values.
>
> I had this problem after the upgrade 4.1.2 -> 5.6.

My guess is that you had a custom template which you needed to remove.

Charlie
Title: Re: Windows Domain
Post by: IS on February 21, 2003, 11:12:34 AM
I have no custom template for Samba ...

But I have a question about the template :
I would like to create a hidden derectory by adding a '$' in the directory name in smb.conf.

If I change the /etc/smb.conf file, I guess a new will be regenerate and will erase my modification.

In the case of smb.conf, how can I build a custom to do what I want?

Thanks a lot.
Title: Re: Windows Domain
Post by: Bill Talcott on February 21, 2003, 05:13:55 PM
http://www.e-smith.org/custom/

Basically, the standard template fragments are in /etc/e-smith/templates/etc/smb.conf/ and you'll want to put your additions and changes in /etc/e-smith/templates-custom/etc/smb.conf/.
Title: Re: Windows Domain
Post by: Mark on February 22, 2003, 12:06:37 AM
Actually I'd be really interested to know how to do this. I can create a custom fragment and create a hidden share but I have had to set "server = share" in globals and make the share "guest ok = yes" . How do I assign group rights to a custom share so  I can limit access to the share  


cheers

Mark