Re: [Samba] SAMBA authentication ?

2008-02-04 Thread Brian High
John Drescher wrote:
> On Feb 4, 2008 5:48 PM, Charles Marcus <[EMAIL PROTECTED]> wrote:
>>> Please post your smb.conf without comments.
>> Is there a command to generate this output?
>>
> There probably is a better way but this is the first thing I can think of:
> 
> grep -v ^# /etc/samba/smb.conf
> 
> John

This works pretty well:

  testparm -s

... as it is formatted in a readable way, even if the smb.conf is messy.


Or you can do it this way:

  grep -v '^[ \t]*[#;]\|^[ \t]*$' /etc/samba/smb.conf

... so you also remove blank lines as well as comments (both # and ;),
even with leading whitespace.


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


Re: [Samba] Re: Member Server creates sambaDomainName LDAP entry

2008-01-30 Thread Brian High

On Wed, 30 Jan 2008, Jamrock wrote:



"Brian High" <[EMAIL PROTECTED]> wrote in message
news:[EMAIL PROTECTED]

Short version:

Why does my domain member server create a sambaDomainName entry in LDAP?



To which LDAP server is your smb.conf file pointing?  The one on the member
server or the one on the domain controller?


There is only one LDAP primary (on PDC) and one LDAP secondary (on BDC). 
The member server has no LDAP server, and only uses LDAP as a client.


--
Brian High
Systems Administrator
Department of Environmental and Occupational Health Sciences
--
To unsubscribe from this list go to the following URL and read the
instructions:  https://lists.samba.org/mailman/listinfo/samba


[Samba] Member Server creates sambaDomainName LDAP entry

2008-01-25 Thread Brian High
OMAIN -I MYPDC -U root%S3CR1T
# smbpasswd -w S3CR1T



Thanks, in advance, for any explanation you can provide.


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