RE: [Samba] Slow Printing from XP clients with SP2?

2004-09-01 Thread Lewis Shobbrook
Hi Rohan

> 
> Hello,
> 
> I was wondering if anyone else has experienced this.

Yes I've noticed this.  
I thought shit... The print service has failed.
2-3 Minutes later out comes the print job
This is with the "firewall" turned off, so something less obvious at
hand here.
> 
> >From an XP machine printing to a SAMBA printer, printing is 
> painfully 
> >slow.
> 
> Selecting the printer, and even sending the job through 
> windows makes the app appear non-responsive. The print job is 
> completed fine, but just takes a long time to print.
> 
> XP boxes with SP1 print like a dream. I've managed to 
> replicate this on 4 boxes all with SP2.
> 
> I'm running SAMBA 3.0.4.
> 
> Cheers,
> 
> Rohan
> 
> Rohan Gilchrist 
> [EMAIL PROTECTED]
> http://www.e-mailme.org/~rohan/
> 0412 648 909

Cheers,

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


[Samba] Slow Printing from XP clients with SP2?

2004-09-01 Thread Rohan Gilchrist
Hello,
I was wondering if anyone else has experienced this.
From an XP machine printing to a SAMBA printer, printing is painfully slow.
Selecting the printer, and even sending the job through windows makes the app
appear non-responsive. The print job is completed fine, but just takes a long time
to print.
XP boxes with SP1 print like a dream. I've managed to replicate this on 4 boxes all
with SP2.
I'm running SAMBA 3.0.4.
Cheers,
Rohan
Rohan Gilchrist 
[EMAIL PROTECTED]
http://www.e-mailme.org/~rohan/
0412 648 909

***
This e-mail and any files transmitted with it are privileged and
confidential information intended for the use of the addressee. The
confidentiality and/or privilege in this e-mail is not waived, lost or
destroyed if it has been transmitted to you in error. If you have received
this e-mail in error you must:
(a) not disseminate, copy or take any action in reliance on it;
(b) please notify the sender immediately by return e-mail; and
(c) please delete the original e-mail.
Except as required by law, we do not represent, warrant and/or guarantee 
that the integrity of this communication has been maintained nor that the 
communication is free of errors, virus, interception, inference or 
interference.
***
--
To unsubscribe from this list go to the following URL and read the
instructions:  http://lists.samba.org/mailman/listinfo/samba


Re: [Samba] winbind problem (?) on samba 3 ADS

2004-09-01 Thread Emir Faisal
--- "Gerald (Jerry) Carter" <[EMAIL PROTECTED]> wrote:
--->8
> $ tar zxf samba-3.0.6.tar.gz
> $ cd samba-3.0.6/source
> $ patch -p0 < filename.patch
> $ ./configure && make

everything works fine now, thank you.

regards,
EF

=
rgrds,
EF



__
Do you Yahoo!?
Yahoo! Mail is new and improved - Check it out!
http://promotions.yahoo.com/new_mail
-- 
To unsubscribe from this list go to the following URL and read the
instructions:  http://lists.samba.org/mailman/listinfo/samba



Re: FeedbackNeeded -- Re: [Samba] Winbind and case sensitivity (revisited)

2004-09-01 Thread Tom Shaw
Note that my original problem was fixed when I sent in this patch:

http://lists.samba.org/archive/samba-technical/2004-July/036575.html

That said, I still think it would be useful to flatten usernames to
lowercase in some cases.

Tom

On Mon, 30 Aug 2004 09:34:46 -0500, Gerald (Jerry) Carter
<[EMAIL PROTECTED]> wrote:
> -BEGIN PGP SIGNED MESSAGE-
> Hash: SHA1
> 
> Tom Shaw wrote:
> 
> | I've had a look through the archives and found
> | this discussion on winbind and case sensitivity:
> | http://lists.samba.org/archive/samba/2004-February/080321.html
> ...
> | The issue is that winbind will in some cases return
> | a username capitalized as per the NT database (ie when
> | the user is looked up by uid), and in other cases as
> | per the way the user typed it (ie when the
> | user is looked up by username). This has cause problems
> | for me in integrating a Unix system into a Windows
> | environment.
> |
> | Has anyone done any work on making a patch like the
> | one Andrew Bartlett proposed?
> 
> Andrew and I spoke about this briefly on IRC last week
> while debugging a different winbindd bug.  It would be
> a pretty trivial change but one that would have a
> large impact on existing sites I think.
> 
> So the question is how many installations will break if
> winbindd all of a sudden starts lower casing usernames?
> 
> If I can be adequate feedback on this, we'll consider
> making the change.
> 
> cheers, jerry
> - -
> Alleviating the pain of Windows(tm)  --- http://www.samba.org
> GnuPG Key- http://www.plainjoe.org/gpg_public.asc
> "If we're adding to the noise, turn off this song"--Switchfoot (2003)
> -BEGIN PGP SIGNATURE-
> Version: GnuPG v1.2.4 (GNU/Linux)
> Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org
> 
> iD8DBQFBMzsGIR7qMdg1EfYRAgBZAJ9ZyKhCAHvnd+IuzSyToiF7XVF/fQCgg6jz
> YXkKckL/BlBDctRji6nEEHg=
> =SWjw
> -END PGP SIGNATURE-
>
-- 
To unsubscribe from this list go to the following URL and read the
instructions:  http://lists.samba.org/mailman/listinfo/samba


[Samba] Roaming/local profiles behavior in XP

2004-09-01 Thread David Case
Hey all,
Relatively new to Samba configuration here - I've set up a system where  
XP clients can login and get their roaming profiles and all is well  
with that, but I see the synchronization which takes place on logout to  
be a big problem. So, I'm looking to turn off roaming profiles and  
instead go with remapping the documents, desktop and pictures folders  
to their server equivalents - I've set the "Prevent Roaming Profile  
changes from propagating to the server" setting and the "Only allow  
local user profiles" setting to "enabled" in the group policy on that  
desktop, but I'm still seeing the sync at logout. Running samba 3.0.2  
on a Mac OS X 10.3.5 server...

My login script is:
%systemroot%\regedit /s redirect.reg
and redirect.reg is:
Windows Registry Editor Version 5.00
[HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Explorer\Us 
er Shell Folders]
"Desktop"=hex(2): 
48,00,3a,00,5c,00,44,00,65,00,73,00,6b,00,74,00,6f,00,70,00,\
  00,00
"Personal"=hex(2): 
48,00,3a,00,5c,00,44,00,6f,00,63,00,75,00,6d,00,65,00,6e,00,\
  74,00,73,00,00,00
"My  
Pictures"=hex(2): 
48,00,3a,00,5c,00,50,00,69,00,63,00,74,00,75,00,72,00,65,\
  00,73,00,00,00

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


[Samba] netbios alias upper case file name problem

2004-09-01 Thread steven
Hi,
everybody there.

I get problems when using netbios alias with samba 3.04a.
Upper case file names for alias will not work for me.
I have to change to lower case file name.
for example, config file "SMB.CONF.BACKUP_SVR-1" for alias server
BACKUP_SVR-1 will not work until I change the file name to
"smb.conf.backup_svr-1".
How can I fix the problem? I like to use uppercase.
Thanks in advance.



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


Re: [Samba] ldapsync, Samba LDAP bug?: win clients return error when change passwd in samba3 PDC

2004-09-01 Thread Andrew Bartlett
On Wed, 2004-08-04 at 18:32, Gennady G. Marchenko wrote:
> When I am setup external passwd change script (syncldap) for sync my smb
> pass and unix pass, and change smb password on my windows client client, him
> return error, but password change is successful!
> I think what Samba PDC trying to change user's password twice, first - with
> passwd program (ldapsync.pl), and second - with internal functionality samba
> as PDC. Second try return error, and these error receive my windows client.

> How I make fix it? Or it's bug in Samba3?

Sounds like a typical case for 'ldap password sync = yes'.  This is a
bug in the script, in any case, as external scripts called by Samba
should not modify Samba attributes.

Andrew Bartlett

-- 
Andrew Bartlett [EMAIL PROTECTED]
Authentication Developer, Samba Teamhttp://samba.org
Student Network Administrator, Hawker College   [EMAIL PROTECTED]


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] [samba rpcclient] rpcclient ACCESS_DENIED; failed tcon_x error

2004-09-01 Thread Andrew Bartlett
On Thu, 2004-08-05 at 23:05, michael melhem wrote:
> Hi,
> 
>  
> 
> rpcclient seems to having problems accessing certain machines on our
> network. This is despite the fact that the credentials (user name/password)
> given are correct for the NT_DOMAIN login onto those machines. The same
> credentials work for other windows machines within that domain. Logging in
> manually on these problem machines also works fine so Im not sure whats
> wrong.

> We get the following error:
> 
> Failed tcon_X
> 
> NT_STATUS_ACCESS_DENIED

This is typical of a version of Samba that does not support SMB signing,
and a Win2k3 PDC that requires it. 

Andrew Bartlett

-- 
Andrew Bartlett [EMAIL PROTECTED]
Authentication Developer, Samba Teamhttp://samba.org
Student Network Administrator, Hawker College   [EMAIL PROTECTED]


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] Winbind sutff (Squid and Windows 2003)

2004-09-01 Thread Andrew Bartlett
On Tue, 2004-08-10 at 11:28, Rivanor Soares wrote:
> Fellows, hello...
> My first post. :)
> 
> The environment:
> Samba 3.0.5, Windows 2003 (domain controller), Squid 2.5-STABLE and
> FreeBSD 5.2.1.
> 
> I'm facing this problem:
> While trying to authenticate the users inside Windows 2003 through the
> proxy server, using the wb_auth auth program, i can see the lines
> below in my log.winbindd
> 
> [2004/08/09 22:28:12, 0] nsswitch/winbindd.c:process_loop(726)
>   process_loop: Invalid request size from pid 1235: 1304 bytes sent,
> should be 1824
>   This usually means that you are running old wbinfo, pam_winbind or
> libnss_winbind clients

You are using wb_auth from Squid, which is not supported with Samba
3.0.  See the Squid documentation on how to use Samba's ntlm_auth with
Squid.

Andrew Bartlett

-- 
Andrew Bartlett [EMAIL PROTECTED]
Authentication Developer, Samba Teamhttp://samba.org
Student Network Administrator, Hawker College   [EMAIL PROTECTED]


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] LDAP Master/Slave

2004-09-01 Thread Andrew Bartlett
On Thu, 2004-08-19 at 20:05, Simon Hobson wrote:
> rruegner wrote:

> I've been watching this thread since I'm looking at implementing 
> backup servers at two remote sites next week. Could I just clarify 
> what I believe happens :
> 
> During a network break :
> 
> Clients at the remote site will be reliant on the backup servers, but 
> for obvious reasons will not be able to update the LDAP server.
> 
> During normal operations :
> 
> Clients can use any of the servers for authentication etc. If a 
> change is made via one of the remote servers, then it is either 
> replicated or redirected to the primary LDAP server depending on the 
> LDAP setup.

Correct.

Redirected to the primary LDAP server (master) which replicates the
change to the slaves.  This is why we then have a 'ldap replication
sleep' parameter, which is a very crude way to ensure that the local
(slave) server has the data from the update.

Andrew Bartlett

-- 
Andrew Bartlett [EMAIL PROTECTED]
Authentication Developer, Samba Teamhttp://samba.org
Student Network Administrator, Hawker College   [EMAIL PROTECTED]


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] Samba binding to ldap as null?

2004-09-01 Thread Andrew Bartlett
On Sun, 2004-08-22 at 17:18, Entelin wrote:
> For some reason samba is binding to ldap as null (anon), This happens
> when users login. If in ldap I give null privs to read everything
> (except the NT/LM passwords) it works fine. The bind dn is specified and
> the password set with smbpasswd -w. I really cant have anon be able to
> read everything.

Samba talks to nss_ldap (if you use the standard configuration
suggestions) and that talks to LDAP as anonymous.

Andrew Bartlett

-- 
Andrew Bartlett [EMAIL PROTECTED]
Authentication Developer, Samba Teamhttp://samba.org
Student Network Administrator, Hawker College   [EMAIL PROTECTED]


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] 'net rcp shudown' with mashine account (-n -P) possible???

2004-09-01 Thread Andrew Bartlett
On Mon, 2004-08-23 at 13:59, Malte Woelky wrote:
> Hello samba-list,
> 
> 
> I'm able to shutdown remote mashines using:
> 
> supzli02pdc:~ # net rpc shutdown -S  -U Administrator% -r -t 1 
> --comment=Abmelden

> I wounder if this is also possible with an mashine account auth (from the
> PDC)? I couldn't get it to work:

Two reasons:  

The user shutting down the machine needs that privilege, and only Admins
have it by default.  Also, machines cannot do an NTLM login, only a
kerberos login, so it can't work with a Samba PDC.

Andrew Bartlett

-- 
Andrew Bartlett [EMAIL PROTECTED]
Authentication Developer, Samba Teamhttp://samba.org
Student Network Administrator, Hawker College   [EMAIL PROTECTED]


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] Hashes in smbpasswd

2004-09-01 Thread Andrew Bartlett
On Tue, 2004-08-24 at 07:49, Andrew Bartlett wrote:
> On Tue, 2004-08-24 at 00:12, William Jojo wrote:
> > AIX 5.2
> > Samba 3.0.6
> > 
> > 
> > the smbpasswd file is showing only the nt (second) hash after a machine
> > join. the lm hash (first) is all X's.
> > 
> > is this expected?

It appears that machines set their passwords to strings > 14 characters,
so the new (correct) code for dealing with that doesn't store a LM hash.

> > I also noticed in LDAP that this was the case on password changes for
> > users.
> > 
> > has the LM hash been dropped?
> 
> Yes.  For machines, it doesn't get set for a number of reasons, and for
> machines, it is also never read.  As we moved to allow the same for
> users (where they have 'long' passwords, > 14 chars), I cleaned up the
> machine password change code at the same time.

Actually, it looks like I forgot to commit that patch.  The behaviour
until now has been to, when the machine changes it's password (by
default) 7 days later to store the NT password in both fields.  

The new behaviour will be to keep the LM field XXX'ed out.

Andrew Bartlett

-- 
Andrew Bartlett [EMAIL PROTECTED]
Authentication Developer, Samba Teamhttp://samba.org
Student Network Administrator, Hawker College   [EMAIL PROTECTED]


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

[Samba] logon script running for xp clients but not 2000 clients

2004-09-01 Thread Mark Reidenbach
I've run across a problem where the windows 2000 clients do not run the 
netlogon script when they log in to my domain although the windows xp 
sp2 clients run the script fine.  If I run \\server\netlogon\logon.cmd 
from the run box once the 2000 machines are logged in, it runs the 
script and maps drives fine.  The other strange thing is that on the 
affected machines, \\server\homes maps to what is actually the netlogon 
share (the logon.cmd file is there).

Any help would be greatly appreciated.  Would this problem show up in 
any of the log files?  I'm running samba 3.0.6 as a PDC and here  my 
smb.conf file:

[global]
   workgroup = SAMBA
   netbios name = SERVER
   passdb backend = tdbsam
   restrict anonymous = 1
   lanman auth = No
   client NTLMv2 auth = Yes
   client lanman auth = No
   client plaintext auth = No
   disable netbios = Yes
   log file = /var/log/samba/%m.log
   log level = 3
   min protocol = NT1
   name resolve order = host bcast
   server signing = required
   add machine script = /usr/sbin/useradd -d /dev/null -g 100 -s 
/bin/false -M %u
   logon script = logon.cmd
   logon drive = z:
   logon path =
   logon home = \\server\%U
   domain logons = Yes
   os level = 50
   lm announce = No
   preferred master = Yes
   domain master = Yes
   dns proxy = No
   wins support = No
   ldap ssl = no
   hosts allow = 127.0.0.1, 192.168.13.0/255.255.255.0, 
192.168.2.0/255.255.255.0, 192.168.100.0/255.255.255.0
   hosts deny = 0.0.0.0/0.0.0.0

[netlogon]
   comment = Network Logon Service
   path = /home/samba/netlogon
   guest ok = Yes
   browseable = No
[homes]
   comment = Home Directories
   path = /home/samba/homes/%u
   read only = No
   create mask = 0700
[printers]
   comment = All Printers
   path = /tmp
   read only = No
   create mask = 0777
   guest ok = Yes
   printable = Yes
   browseable = No
[public]
   comment = Public Files
   path = /home/samba/public
   read only = No
   create mask = 0777
   directory mask = 0777
[profiles]
   comment = Profiles
   path = /home/samba/profiles/%u
   read only = No
   browseable = No
[websites]
   comment = Websites
   path = /home/vhost
   force user = backup
   force group = web
   read only = No
   create mask = 0775
   force create mode = 0775
   security mask = 00
   directory mask = 0775
   force directory mode = 0775
   directory security mask = 00
--
To unsubscribe from this list go to the following URL and read the
instructions:  http://lists.samba.org/mailman/listinfo/samba


[Samba] Upgrading from Samba 2.2 to 3 causes WinXP machines to drop off the domain.

2004-09-01 Thread Adam Luchjenbroers
There is a single Linux server which acts as a PDC to a mixed network of
Win98\WinXP machines. We've recently upgraded from Samba 2.2 (don't have
exact version number available, the machines run RH7.2 if that helps).

After upgrading to Samba 3.0.6, the WinXP machines need to be re-added to
the domain. We maintain multiple sites with this configuration and are
hesitant to roll out this update to other sites until we've fixed this
issue.
-- 
To unsubscribe from this list go to the following URL and read the
instructions:  http://lists.samba.org/mailman/listinfo/samba


Re: AW: [Samba] Help Me Update to samba-3.0.6-1 from samba-3.0.3-5

2004-09-01 Thread Paul Gienger
Arno Seidel wrote:
(B
(B>or use the --nodeps flag for rpm this turns the dependendcy-checks of
(B>  
(B>
(BAA Don't do that... figure out what the real problem is first
(Brather than subverting the system that keeps things clean(ish). Unless
(Byou're inside of some goofy recursive dependency loop or have badly
(Bbuilt packages (and the samba packages aren't), don't use the nodeps flag.
(B
(BThere are 3 packages to update for sure, 4 if you add swat. Get them all
(Bfrom
(Bhttp://us4.samba.org/samba/ftp/Binary_Packages/Fedora/RPMS/i386/core/2
(Band then do them all at the same time, on the same command line:
(B
(Brpm -Uvh samba-.rpm samba-client-.rpm
(Bsamba-common-.rpm samba-swat-.rpm
(B
(BThat will work fine, at least for getting the packages installed. Do I
(Bremember reading right that there is a tdb format change or something in
(Bthere someplace?
(B
(B
(B>  
(B>
(B>>-Ursprungliche Nachricht-
(B>>Von: [EMAIL PROTECTED]
(B>>[mailto:[EMAIL PROTECTED]
(B>>Auftrag von SES
(B>>Gesendet: Donnerstag, 2. September 2004 01:27
(B>>An: [EMAIL PROTECTED]
(B>>Betreff: [Samba] Help Me Update to samba-3.0.6-1 from samba-3.0.3-5
(B>>
(B>>
(B>>Dear Staff samba.org
(B>>I cannot do update to samba-3.0.6-1 from samba-3.0.3-5.
(B>>My personal computer OS is FedoraCore2.
(B>>The error message when trying update is the following.
(B>>Error information :
(B>>[EMAIL PROTECTED] i386]# rpm -Uvh samba-3.0.6-1.i386.rpm
(B>>$B7Y9p(B: samba-3.0.6-1.i386.rpm: V3 DSA signature: NOKEY, key ID
(B>>
(B>>
(B>2f87af6f
(B>  
(B>
(B>>$B%(%i!<(B: Failed dependencies:
(B>>samba-common = 3.0.6 is needed by samba-3.0.6-1
(B>>samba = 0:3.0.3 is needed by (installed) samba-swat-3.0.3-5
(B>>[EMAIL PROTECTED] i386]# rpm -Uvh samba-common-3.0.6-1.i386.rpm
(B>>$B7Y9p(B: samba-common-3.0.6-1.i386.rpm: V3 DSA signature: NOKEY, key
(B>>
(B>>
(B>ID
(B>  
(B>
(B>>2f87af6f
(B>>$B%(%i!<(B: Failed dependencies:
(B>>samba-common = 0:3.0.3 is needed by (installed) samba-3.0.3-5
(B>>samba-common = 0:3.0.3 is needed by (installed)
(B>>samba-client-3.0.3-5
(B>>
(B>>Please give me the advice.
(B>>
(B>>From:  Shimizu
(B>>
(B>>___
(B>>Mailman mailing list
(B>>[EMAIL PROTECTED]
(B>>http://lists.samba.org/mailman/listinfo/mailman
(B>>--
(B>>To unsubscribe from this list go to the following URL and read the
(B>>instructions:  http://lists.samba.org/mailman/listinfo/samba
(B>>
(B>>
(B>>
(B>
(B>  
(B>
(B
(B-- 
(BPaul Gienger Office: 701-281-1884
(BApplied Engineering Inc. 
(BInformation Systems Consultant   Fax:701-281-1322
(BURL: www.ae-solutions.commailto: [EMAIL PROTECTED]
(B
(B
(B-- 
(BTo unsubscribe from this list go to the following URL and read the
(Binstructions:  http://lists.samba.org/mailman/listinfo/samba

[Samba] smbldap_search_suffix: Problem during the LDAP search

2004-09-01 Thread Glenn Arnold
Hello,

I need some help with the following errors that I have in my log.smbd:

[2004/09/01 21:14:39, 0] lib/smbldap.c:smbldap_search_suffix(1126)
  smbldap_search_suffix: Problem during the LDAP search:  (Size limit
exceeded)
[2004/09/01 21:14:39, 0] passdb/pdb_ldap.c:ldapsam_setsampwent(1078)
  ldapsam_setsampwent: LDAP search failed: Size limit exceeded
[2004/09/01 21:14:39, 0]
rpc_server/srv_samr_nt.c:load_sampwd_entries(232)
  load_sampwd_entries: Unable to open passdb.

I notice the problem Monday.  If I use User Manager to view user in my
Samba-LDAP PDC I get the following error "The stub received bad data"
Then I get the prompt "Do I want to select another domain to
administer".  If I run Server Manager I get the same error.  One problem
I discovered was that I had exceeded the size limit for openldap search.
The default SIZELIMIT  500 I increased the size to 1 which I thought
this would solve the problem which it has not.  I can login to domain
with and access resource on the server with no problems.  I search this
list and google and did not come up with anything conclusive.  I am
running samba 3.04, openldap-2.1.22-8, and Redhat AS 3.0.  Any insight
on these errors would be appreciated.  Here is smb.conf

[global]
netbios name = HSFNP01
workgroup = MTHCS
server string =
security = user
os level = 64
domain master = yes
local master = yes
preferred master = yes
time server = yes
#passdb backend = tdbsam
ldappasswd sync =yes
passdb backend = ldapsam:ldap://127.0.0.1/
ldap admin dn = cn=samba,ou=DSA,dc=mthcs,dc=net
#ldap admin dn = cn=Manager,dc=mthcs,dc=net
ldap suffix = dc=mthcs,dc=net
ldap group suffix = ou=Groups
ldap user suffix = ou=Users
ldap machine suffix = ou=Computers
ldap ssl = no
unix extensions = yes
encrypt passwords = yes
domain logons = yes
logon script = logon.bat
logon drive = H:
logon home = \\%L\%U
logon path =
socket options = SO_KEEPALIVE IPTOS_LOWDELAY TCP_NODELAY SO_RCVBUF=8192
SO_SNDBUF=8192
wins support = no
wins server = 10.100.0.10
veto files = /*.eml/*.nws/riched20.dll/
lanman auth = yes
add user script = /usr/local/sbin/smbldap-useradd -m %u
delete user script = /usr/local/sbin/smbldap-userdel %u
ldap delete dn = yes
add group script = /usr/local/sbin/smbldap-groupadd -p "%g"
delete group script = /usr/local/sbin/smbldap-groupadd "%g"
add machine script = /usr/local/sbin/smbldap-useradd -w "%u"
add user to group script = /usr/local/sbin/smbldap-groupmod -m "%u" "%g"
delete user from group script = /usr/local/sbin/smbldap-usermod -g "%g"
"%u"
set primary group script = /usr/local/sbin/smbldap-usermod -g "%g" "%u"
dos charset = 850
unix charset = ISO8859-1
oplocks = yes
load printers = yes
printing = cups
printer admin = Administrator, @Domain Admins
idmap uid = 15000-2
idmap gid = 15000-2
winbind separator = -
winbind use default domain = No

[netlogon]
path = /smbsrvr/netlogon/scripts
browsable = no
guest ok = yes
write list = Domain Admins

[homes]
comment = Home Directories
browseable = no
read only = no
hide dot files = yes
veto files =
/*.mp3/*.exe/*.com/*.js/*.bat/*.cmd/*.wsh/*.lnk/*.scr/*.zip/.*/
dos file times = yes

[C$]
valid users = @root
path = /smbsrvr
read only = no
create mask = 0770
directory mask = 0770
force group = Domain Admins
force directory mode = 0770
dos file times = yes

[Apps]
read only = no
path = /smbsrvr/Apps
create mask = 0770
directory mask = 0770
force create mode = 0770
force directory mode = 0770
dos filetimes = yes
inherit permissions = yes

[Students]
path = /smbsrvr/Students
read only = no
create mask = 0770
directory mask = 0770
force group = hsstudents
force create mode = 0770
force directory mode = 0770
dos filetimes = yes

[AdminTools$]
path = /smbsrvr/AdminTools
read only = no
dos filetimes = yes

[printers]
comment = All Printers
path = /var/spool/samba
printable = yes
browseable = no
guest ok = yes

[print$]
comment = Printer Drivers
path = /var/lib/samba/drivers
browseable = yes
guest ok = no
read only = yes
write list = root, @ntadmin


#[%G]
#path = /home/groups/%G/
#read only = no
#force group = %G

[home$]
writeable = yes
write list = +ntadmin,@"MTHS-Domain Admins",@ntadmin,@root
path = /home
force directory mode = 0770
force group = +ntadmin
dos file times = yes
create mask = 0770
directory mask = 0770
valid users = +ntadmins,+root,@"MTHS-Domain
Admins",@ntadmin,@root

[ezaudit]
path = /smbsrvr/ezaudit
read only = no
browsable = no
guest ok = yes

[HSGUIDANCE]
path = /smbsrvr/Guidance
read only = no
dos filetimes = yes

[HS PRINCIPAL]
path = /smbsrvr/hsprincipal
read only = no
dos filetimes = yes

[CIP]
path = /smbsrvr/CIP
read only = no
dos filetimes = yes

[POISE ISSUES]
path = /smbsrvr/Poise Issues
read only = no
dos filetimes = yes

[HSDISCIPLINE]
path = /smbsrvr/Discipline
read only = no
dos filetimes = yes

[YEARBOOK]
path = /smbsrvr/yearbook
read only = no
dos filetimes = yes

[INSTALL]
comment = Mt. Healthy Software
path = /smbs

Re: [Samba] Printing help from Windows XP

2004-09-01 Thread Rohan Gilchrist
On Wed, 1 Sep 2004, Herb Lewis wrote:
What is the output of lpstat -t on your linux system?
When you print from linux what command do you use?
It looks like you are calling the printer the wrong name in
your smb.conf file. It must match "exactly" one of the
names returned by lpstat.
Herb,
Here's the output of lpstat -t
proxy[~]lpstat -t
scheduler is running
system default destination: lvl3-bw
members of class level3:
lvl3-bw
members of class level4:
hp-lvl4
device for hp-lvl4: ipp://10.19.1.31:631/
device for lvl3-bw: lpd://10.19.1.32/
hp-lvl4 accepting requests since Jan 01 00:00
lvl3-bw accepting requests since Jan 01 00:00
printer hp-lvl4 now printing hp-lvl4-10.  enabled since Jan 01 00:00
printer lvl3-bw is idle.  enabled since Jan 01 00:00
hp-lvl4-10  root 26624   Wed 01 Sep 2004 03:30:50 PM EST
After posting to the group, I figured that the printer name was not correct, and have
subsequently been able to print from Windows. One further problem has arisen though, and 
that is it seems for Windows to take a long time to let me select the printer and then print, 
resulting in the app appearing to not respond. Once the print job is sent, it is printed fine,
but it appears that printing to my users is "slow".

Any ideas?
Rohan Gilchrist 
[EMAIL PROTECTED]
http://www.e-mailme.org/~rohan/
0412 648 909

***
This e-mail and any files transmitted with it are privileged and
confidential information intended for the use of the addressee. The
confidentiality and/or privilege in this e-mail is not waived, lost or
destroyed if it has been transmitted to you in error. If you have received
this e-mail in error you must:
(a) not disseminate, copy or take any action in reliance on it;
(b) please notify the sender immediately by return e-mail; and
(c) please delete the original e-mail.
Except as required by law, we do not represent, warrant and/or guarantee 
that the integrity of this communication has been maintained nor that the 
communication is free of errors, virus, interception, inference or 
interference.
***
--
To unsubscribe from this list go to the following URL and read the
instructions:  http://lists.samba.org/mailman/listinfo/samba


Re: [Samba] unix_to_unicode: macros or what ?

2004-09-01 Thread Andrew Bartlett
On Tue, 2004-08-31 at 15:54, Ilia Chipitsine wrote:
> Dear Sirs,
> 
> I feel myself completely lost.
> I cannot find any definition of "unix_to_unicode", but it is called
> several times.
> 
> is it macros ? where its definition ?

In what context?   We are going to need a lot more detail about what
your actual problem is.

Andrew Bartlett

-- 
Andrew Bartlett [EMAIL PROTECTED]
Authentication Developer, Samba Teamhttp://samba.org
Student Network Administrator, Hawker College   [EMAIL PROTECTED]


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] Trusted domain Authentication

2004-09-01 Thread Andrew Bartlett
On Wed, 2004-09-01 at 19:27, fakemail wrote:
> I've a problem with trusting domain authentication , I've searched the
> newsgroup but found no answer .
> The configuration is very simple .
> A windows 2000 domain (DOMA) , which contains the samba server , and a
> Windows 2003 domain (DOMB). The two are trusted by a bidirectional trust .
> 
> The problem is that users from the 2003 domain can't get authenticated by
> the samba server and are prompted for user and password.
> The log
> 
> 
> [2004/09/01 10:48:57, 0] rpc_client/cli_netlogon.c:(406)
>   cli_net_sam_logon_internal: NT code 0x0001
> [2004/09/01 10:48:57, 0] smbd/password.c:(1618)
>   domain_client_validate: unable to validate password for user SA1726 in
> domain DOMB  to Domain controller srvdom4. Error was NT code 0x0001.
> [2004/09/01 10:48:57, 1] smbd/reply.c:(1001)
>   Rejecting user 'SIGE': authentication failed

This looks like a Samba 2.2 log.  This product is reaching end-of-life
very shortly - you should upgrade to Samba 3.0, as you will probably
find it's fixed anyway :-)

Andrew Bartlett

-- 
Andrew Bartlett [EMAIL PROTECTED]
Authentication Developer, Samba Teamhttp://samba.org
Student Network Administrator, Hawker College   [EMAIL PROTECTED]


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

[Samba] Mounting a share with ads

2004-09-01 Thread waljureg
Hi,

I just install samba 3.0.6 with ads support.  I use winbind to login
and ADS's users can access to samba share.

Now I would like to mount a Windows Share into my linux. I use mount
-t smbfs //windowsserver/share /mnt/folder. It ask me for password and
mount it.  The problem is when I try to access /mnt/folder it hang up.

But when I use nautilus in the location text I write
smb://windowsserver/share it ask me for user, domain, and password and
everything is ok.

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


Re: [Samba] usermgr.exe

2004-09-01 Thread Harald Kümmerle
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

On Wednesday 01 September 2004 23:37, rruegner wrote:
> Hi, it is the old nt admin tool
> to create users and groups from a windows client
> to admin a windows domain server.
> Very usefull.
> Regards

But to take full advantage of it, you have to set the parameters "add 
user script", "delete user script", "add user to group script" and so 
on. These are my settings:

smb.conf:
[global]
...
   add user script = /etc/samba/smbuseradd.sh %u
   add machine script = /usr/sbin/useradd -g machines -c "Machine" 
- -d /dev/null -s /bin/false %u
   delete user script = /etc/samba/smbuserdel.sh %u
   #delete user script = /usr/sbin/userdel %u
   add group script = /etc/samba/smbgroupadd.sh "%g"
   delete group script = /usr/sbin/groupdel "%g"
   add user to group script = /usr/bin/gpasswd -a "%u" "%g"
   delete user from group script = /usr/bin/gpasswd -d "%u" "%g"
   set primary group script = /usr/sbin/usermod -g "%g" "%u"
...

My custom scripts create quota entries and the user directories beside 
the creation/deletion of the normal Unix user account.
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.2.2 (GNU/Linux)

iD8DBQFBNmRHpy/Gjo6hsHYRAvoOAJ9S1WJvSs+zuA4Xo1dsdJKcDCiO1gCeMNgT
52E80hUtCMJ1gfpWUEU+4lE=
=M1Ut
-END PGP SIGNATURE-
--
To unsubscribe from this list go to the following URL and read the
instructions:  http://lists.samba.org/mailman/listinfo/samba


AW: [Samba] Help Me Update to samba-3.0.6-1 from samba-3.0.3-5

2004-09-01 Thread Arno Seidel
Hi,
(B
(B
(Bthis is a depedency problem between the installed packages...
(Bif you have or can get the samba-client-3.0.6 package then you should start
(Bwith that
(Band then the samba-common package and after that you can install the
(Bsambapackage.
(B
(Bor use the --nodeps flag for rpm this turns the dependendcy-checks of
(B
(B> -Ursprungliche Nachricht-
(B> Von: [EMAIL PROTECTED]
(B> [mailto:[EMAIL PROTECTED]
(B> Auftrag von SES
(B> Gesendet: Donnerstag, 2. September 2004 01:27
(B> An: [EMAIL PROTECTED]
(B> Betreff: [Samba] Help Me Update to samba-3.0.6-1 from samba-3.0.3-5
(B>
(B>
(B> Dear Staff samba.org
(B> I cannot do update to samba-3.0.6-1 from samba-3.0.3-5.
(B> My personal computer OS is FedoraCore2.
(B> The error message when trying update is the following.
(B> Error information :
(B> [EMAIL PROTECTED] i386]# rpm -Uvh samba-3.0.6-1.i386.rpm
(B> $B7Y9p(B: samba-3.0.6-1.i386.rpm: V3 DSA signature: NOKEY, key ID
(B2f87af6f
(B> $B%(%i!<(B: Failed dependencies:
(B> samba-common = 3.0.6 is needed by samba-3.0.6-1
(B> samba = 0:3.0.3 is needed by (installed) samba-swat-3.0.3-5
(B> [EMAIL PROTECTED] i386]# rpm -Uvh samba-common-3.0.6-1.i386.rpm
(B> $B7Y9p(B: samba-common-3.0.6-1.i386.rpm: V3 DSA signature: NOKEY, key
(BID
(B> 2f87af6f
(B> $B%(%i!<(B: Failed dependencies:
(B> samba-common = 0:3.0.3 is needed by (installed) samba-3.0.3-5
(B> samba-common = 0:3.0.3 is needed by (installed)
(B> samba-client-3.0.3-5
(B>
(B> Please give me the advice.
(B>
(B> From:  Shimizu
(B>
(B> ___
(B> Mailman mailing list
(B> [EMAIL PROTECTED]
(B> http://lists.samba.org/mailman/listinfo/mailman
(B> --
(B> To unsubscribe from this list go to the following URL and read the
(B> instructions:  http://lists.samba.org/mailman/listinfo/samba
(B>
(B
(B-- 
(BTo unsubscribe from this list go to the following URL and read the
(Binstructions:  http://lists.samba.org/mailman/listinfo/samba

[Samba] Help Me Update to samba-3.0.6-1 from samba-3.0.3-5

2004-09-01 Thread SES
Dear Staff samba.org
(BI cannot do update to samba-3.0.6-1 from samba-3.0.3-5.
(BMy personal computer OS is FedoraCore2.
(BThe error message when trying update is the following.
(BError information :
(B[EMAIL PROTECTED] i386]# rpm -Uvh samba-3.0.6-1.i386.rpm
$B7Y9p(B: samba-3.0.6-1.i386.rpm: V3 DSA signature: NOKEY, key ID 2f87af6f
$B%(%i!<(B: Failed dependencies:
(Bsamba-common = 3.0.6 is needed by samba-3.0.6-1
(Bsamba = 0:3.0.3 is needed by (installed) samba-swat-3.0.3-5
(B[EMAIL PROTECTED] i386]# rpm -Uvh samba-common-3.0.6-1.i386.rpm
$B7Y9p(B: samba-common-3.0.6-1.i386.rpm: V3 DSA signature: NOKEY, key ID
(B2f87af6f
$B%(%i!<(B: Failed dependencies:
(Bsamba-common = 0:3.0.3 is needed by (installed) samba-3.0.3-5
(Bsamba-common = 0:3.0.3 is needed by (installed) samba-client-3.0.3-5
(B
(BPlease give me the advice.
(B
(BFrom:  Shimizu
(B
(B___
(BMailman mailing list
(B[EMAIL PROTECTED]
(Bhttp://lists.samba.org/mailman/listinfo/mailman
(B-- 
(BTo unsubscribe from this list go to the following URL and read the
(Binstructions:  http://lists.samba.org/mailman/listinfo/samba

[Samba] Help Me Update to samba-3.0.6-1 from samba-3.0.3-5

2004-09-01 Thread SES
Dear Staff samba.org
(B[EMAIL PROTECTED]
(BI cannot do update to samba-3.0.6-1 from samba-3.0.3-5.
(BMy personal computer OS is FedoraCore2.
(BThe error message when trying update is the following.
(BError information :
(B[EMAIL PROTECTED] i386]# rpm -Uvh samba-3.0.6-1.i386.rpm
$B7Y9p(B: samba-3.0.6-1.i386.rpm: V3 DSA signature: NOKEY, key ID 2f87af6f
$B%(%i!<(B: Failed dependencies:
(Bsamba-common = 3.0.6 is needed by samba-3.0.6-1
(Bsamba = 0:3.0.3 is needed by (installed) samba-swat-3.0.3-5
(B[EMAIL PROTECTED] i386]# rpm -Uvh samba-common-3.0.6-1.i386.rpm
$B7Y9p(B: samba-common-3.0.6-1.i386.rpm: V3 DSA signature: NOKEY, key ID
(B2f87af6f
$B%(%i!<(B: Failed dependencies:
(Bsamba-common = 0:3.0.3 is needed by (installed) samba-3.0.3-5
(Bsamba-common = 0:3.0.3 is needed by (installed) samba-client-3.0.3-5
(B
(BPlease give me the advice.
(B
(BFrom:  shimizu
(B
(B-- 
(BTo unsubscribe from this list go to the following URL and read the
(Binstructions:  http://lists.samba.org/mailman/listinfo/samba

[Samba] Re: XP Problems adding machines "on the fly"

2004-09-01 Thread Jim C.
Whoa! How did the topic get changed?  I did not do that.
Jim C.
--
To unsubscribe from this list go to the following URL and read the
instructions:  http://lists.samba.org/mailman/listinfo/samba


[Samba] Re: XP Problems adding machines "on the fly"

2004-09-01 Thread Jim C.
> maybe you should look for another stupid american who ruined "Baghdad$"
> account :))
Ha! ;-)
There is only one but unfortunately he happens to be the one *in 
charge*.  Funny how non-Americans think that Americans somehow have more 
control of their government than they have over their own.  The truth is 
we don't have any more control over ours than anybody else does.  Less 
even because we have so many more corporate Thrones we must bow to and 
because our government has some of the best spin doctors money can buy.

Having said that, I now must say something to make this a non off-topic 
and hopefully worth while post, hehehe. ;-)

  hosts allow = passdb backend = tdbsam
The above line is in error. Should read:
#hosts allow =
passdb backend = tdbsam
My understanding is that the account created must belong to both worlds 
and therefore must have an entry in both passwd and smbpasswd files. 
That means probably using "smbpasswd -m" somewhere in your "add machine 
script".  If I'm right about this then something like this example:

passdb backend = tdbsam smbpasswd
  add machine script = /usr/sbin/adduser -d /dev/null -g 100 \
   -s /bin/false -M %u;/usr/sbin/smbpasswd -m %u
The path for smbpasswd might not be correct. It is just a guess.
The issue, as I understand it, is that machine accounts require 
information that cannot be stored in the passwd file, therefore you need 
an additional backend.  Of course, in this case only machine accounts 
will be stored there.

Jim C.
--
-
| I can be reached on the following Instant Messenger services: |
|---|
| MSN: [EMAIL PROTECTED]  AIM: WyteLi0n  ICQ: 123291844 |
|---|
| Y!: j_c_llings   Jabber: [EMAIL PROTECTED]|
-
--
To unsubscribe from this list go to the following URL and read the
instructions:  http://lists.samba.org/mailman/listinfo/samba


Re: [Samba] cannot mount share from netapp device

2004-09-01 Thread Jeremy Allison
On Wed, Sep 01, 2004 at 04:41:15PM -0500, David Taylor-Fuller wrote:
> I have been trying to access a personal share being hosted by my
> schools netapp server and have been unable to do so using both version
> 3.04 and version 3.06 of samba. I have read the mailing list archives
> and found one set of posts related to the problem however there was no
> solution posted, so I am asking if anyone knows how to solve this
> problem. The previos posts that I am talking about are titled "NetApp
> compatibility with Data ONTAP filers". Below is a level 10 debug of
> smbclient 3.0.6 and 3.0.4

I believe this is a bug with a version of DataONTAP, not Samba. I
could not reproduce this with the version of the NetApp OS at the
latest CIFS conference. I'd suggest contacting NetApp support to
find out what version fixes this.

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


[Samba] shared UDF volume and "attempt to access beyond end of device" errors

2004-09-01 Thread Anthony Russello
Hi,

I am trying to track down an issue in which writes to a UDF volume that
is shared via samba result in the following error:


attempt to access beyond end of device
0b:01: rw=1, want=1120061380, limit=34181760


The 'want=' value is usually different, and can also be zero in some
instances.

The volume is an Iomega REV drive formatted using the UDF filesystem.
Here are the specifications for my test system:

kernel 2.4.26
applied the following patches:
  - patches-be.dvd.ram-20040816 (from
http://iomrrdtools.sourceforge.net/)

samba version 3.0.5

The error occurs when I copy a folder with subfolders from a Windows XP
(both SP1 and SP2) workstation to a samba share that is linked to the
mount point for the Iomega REV drive.

It should be noted that I have not been able to reproduce this issue
when I connect to the same share using a linux workstation (also running
samba 3.0.5).  Also, this error does not occur when I am copying files
and folders locally on the workstation with the REV drive.

The fact that I cannot seem to reproduce the error by copying files and
folders locally has me thinking it might be related to samba and XP
writing to a samba share.  

Any help would be appreciated.

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


[Samba] cannot mount share from netapp device

2004-09-01 Thread David Taylor-Fuller
I have been trying to access a personal share being hosted by my
schools netapp server and have been unable to do so using both version
3.04 and version 3.06 of samba. I have read the mailing list archives
and found one set of posts related to the problem however there was no
solution posted, so I am asking if anyone knows how to solve this
problem. The previos posts that I am talking about are titled "NetApp
compatibility with Data ONTAP filers". Below is a level 10 debug of
smbclient 3.0.6 and 3.0.4

v3.0.6
$ smbclient //xxx.xxx.xxx.xxx/student/user -U user -W domain -d 10
INFO: Current debug levels:
  all: True/10
  tdb: False/0
  printdrivers: False/0
  lanman: False/0
  smb: False/0
  rpc_parse: False/0
  rpc_srv: False/0
  rpc_cli: False/0
  passdb: False/0
  sam: False/0
  auth: False/0
  winbind: False/0
  vfs: False/0
  idmap: False/0
  quota: False/0
  acls: False/0
lp_load: refreshing parameters
Initialising global parameters
params.c:pm_process() - Processing configuration file
"/usr/local/samba/lib/smb.conf"
Processing section "[global]"
doing parameter workgroup = MYGROUP
doing parameter server string = Pandora
doing parameter security = user
doing parameter load printers = yes
doing parameter log file = /var/log/samba.%m
doing parameter max log size = 50
doing parameter socket options = TCP_NODELAY
doing parameter dns proxy = no
doing parameter wins support = no
pm_process() returned Yes
lp_servicenumber: couldn't find homes
set_server_role: role = ROLE_STANDALONE
Attempting to register new charset UCS-2LE
Registered charset UCS-2LE
Attempting to register new charset UTF8
Registered charset UTF8
Attempting to register new charset ASCII
Registered charset ASCII
Attempting to register new charset 646
Registered charset 646
Attempting to register new charset ISO-8859-1
Registered charset ISO-8859-1
Attempting to register new charset UCS2-HEX
Registered charset UCS2-HEX
Substituting charset 'ANSI_X3.4-1968' for LOCALE
Substituting charset 'ANSI_X3.4-1968' for LOCALE
Substituting charset 'ANSI_X3.4-1968' for LOCALE
Substituting charset 'ANSI_X3.4-1968' for LOCALE
Substituting charset 'ANSI_X3.4-1968' for LOCALE
Substituting charset 'ANSI_X3.4-1968' for LOCALE
Substituting charset 'ANSI_X3.4-1968' for LOCALE
Substituting charset 'ANSI_X3.4-1968' for LOCALE
Substituting charset 'ANSI_X3.4-1968' for LOCALE
Substituting charset 'ANSI_X3.4-1968' for LOCALE
Substituting charset 'ANSI_X3.4-1968' for LOCALE
Substituting charset 'ANSI_X3.4-1968' for LOCALE
Substituting charset 'ANSI_X3.4-1968' for LOCALE
Substituting charset 'ANSI_X3.4-1968' for LOCALE
Substituting charset 'ANSI_X3.4-1968' for LOCALE
Substituting charset 'ANSI_X3.4-1968' for LOCALE
Substituting charset 'ANSI_X3.4-1968' for LOCALE
Substituting charset 'ANSI_X3.4-1968' for LOCALE
Substituting charset 'ANSI_X3.4-1968' for LOCALE
Substituting charset 'ANSI_X3.4-1968' for LOCALE
added interface ip=xxx.xxx.xxx.xxx bcast=xxx.xxx.xxx.xxx nmask=255.255.240.0
Netbios name list:-
my_netbios_names[0]="PANDORA"
Client started (version 3.0.6).
internal_resolve_name: looking up xxx.xxx.xxx.xxx#20
Opening cache file at /usr/local/samba/var/locks/gencache.tdb
tdb(unnamed): tdb_open_ex: could not open file
/usr/local/samba/var/locks/gencache.tdb: No such file or directory
Attempt to open gencache.tdb has failed.
resolve_lmhosts: Attempting lmhosts lookup for name henry.lawrence.edu<0x20>
startlmhosts: Can't open lmhosts file /usr/local/samba/lib/lmhosts.
Error was No such file or directory
resolve_wins: Attempting wins lookup for name henry.lawrence.edu<0x20>
resolve_wins: WINS server resolution selected and no WINS servers listed.
resolve_hosts: Attempting host lookup for name henry.lawrence.edu<0x20>
remove_duplicate_addrs2: looking for duplicate address/port pairs
Opening cache file at /usr/local/samba/var/locks/gencache.tdb
tdb(unnamed): tdb_open_ex: could not open file
/usr/local/samba/var/locks/gencache.tdb: No such file or directory
Attempt to open gencache.tdb has failed.
internal_resolve_name: returning 1 addresses: xxx.xxx.xxx.xxx:0
Connecting to xxx.xxx.xxx.xxx at port 445
socket option SO_KEEPALIVE = 0
socket option SO_REUSEADDR = 0
socket option SO_BROADCAST = 0
socket option TCP_NODELAY = 1
socket option IPTOS_LOWDELAY = 0
socket option IPTOS_THROUGHPUT = 0
socket option SO_SNDBUF = 16384
socket option SO_RCVBUF = 87380
socket option SO_SNDLOWAT = 1
socket option SO_RCVLOWAT = 1
socket option SO_SNDTIMEO = 0
socket option SO_RCVTIMEO = 0
 session request ok
write_socket(3,183)
write_socket(3,183) wrote 183
got smb length of 153
size=153
smb_com=0x72
smb_rcls=0
smb_reh=0
smb_err=0
smb_flg=152
smb_flg2=32769
smb_tid=0
smb_pid=7995
smb_uid=0
smb_mid=1
smt_wct=17
smb_vwv[ 0]=8 (0x8)
smb_vwv[ 1]=12803 (0x3203)
smb_vwv[ 2]=  256 (0x100)
smb_vwv[ 3]= 1024 (0x400)
smb_vwv[ 4]=  129 (0x81)
smb_vwv[ 5]=0 (0x0)
smb_vwv[ 6]=  256 (0x100)
smb_vwv[ 7]=16128 (0x3F00)
smb_vwv[ 8]= 7742 (0x1E3E)
smb_vwv[ 9]=64828 (0xFD3C)
smb_vwv[10]=  211 (0xD3)
smb_

Re: [Samba] Minimum password works but displays wrong.

2004-09-01 Thread Gerald (Jerry) Carter
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
George Farris wrote:
| I have a Samba 3.0.3 system setup with LDAP.
|
| I can set the "min password length" in smb.conf and the
| system will respect that but when changing the password
| from win2k and giving it a smaller password than set
| it always display "password must be a minimum of 5 characters"
|
| It will display this even if "min password length" is set
| to 7.  You won't actually be able to have a password less than
| 7 but it confuses the hell out of our users.
|
| Is there something I'm missing?  Is this a bug in Samba?
Probably our bug.  Please file a report at
https://bugzilla.samba.org/.  Thanks.


cheers, jerry
- -
Alleviating the pain of Windows(tm)  --- http://www.samba.org
GnuPG Key- http://www.plainjoe.org/gpg_public.asc
"If we're adding to the noise, turn off this song"--Switchfoot (2003)
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.2.4 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org
iD8DBQFBNkKvIR7qMdg1EfYRAhewAKDZ/zoG0rObMwtZVhdyDmlqe3hTZgCeJvPN
FwUv+YBakM52KYO1NDH6xNk=
=aVgI
-END PGP SIGNATURE-
--
To unsubscribe from this list go to the following URL and read the
instructions:  http://lists.samba.org/mailman/listinfo/samba


Re: [Samba] usermgr.exe

2004-09-01 Thread rruegner
Hi, it is the old nt admin tool
to create users and groups from a windows client
to admin a windows domain server.
Very usefull.
Regards
komal schrieb:
Hello
what is usermgr.exe and what is it use for?
Thank you
Komal
--
To unsubscribe from this list go to the following URL and read the
instructions:  http://lists.samba.org/mailman/listinfo/samba


Re: [Samba] Errormessage

2004-09-01 Thread Arno Seidel
Am Mittwoch, 1. September 2004 18:29 schrieb ds_shadof:
> > Hi List,
> >
> > i get sometimes following error message on my Samba 3.0.2.a on SuSE 9.1 Prof.
> >
> > Sep  1 11:01:53 nfs-1 smbd[18893]: [2004/09/01 11:01:53, 0] 
> > lib/util_sock.c:get_peer_addr(975)
> > Sep  1 11:01:53 nfs-1 smbd[18893]:   getpeername failed. Error was Transport 
> > endpoint is not connected
> > Sep  1 11:01:53 nfs-1 smbd[18893]: [2004/09/01 11:01:53, 0] 
> > lib/util_sock.c:write_socket_data(411)
> > Sep  1 11:01:53 nfs-1 smbd[18893]:   write_socket_data: write failure. Error = 
> > Connection reset by peer
> > Sep  1 11:01:53 nfs-1 smbd[18893]: [2004/09/01 11:01:53, 0] 
> > lib/util_sock.c:write_socket(436)
> > Sep  1 11:01:53 nfs-1 smbd[18893]:   write_socket: Error writing 4 bytes to socket 
> > 24: ERRNO = Connection reset by peer
> > Sep  1 11:01:53 nfs-1 smbd[18893]: [2004/09/01 11:01:53, 0] 
> > lib/util_sock.c:send_smb(628)
> > Sep  1 11:01:53 nfs-1 smbd[18893]:   Error writing 4 bytes to client. -1. 
> > (Connection reset by peer)
> >
> 
> In my case it was DNS misconfiguration

Hi,

what kind of DNS misconfiguration?
-- 
To unsubscribe from this list go to the following URL and read the
instructions:  http://lists.samba.org/mailman/listinfo/samba


Re: [Samba] Kerberos issue

2004-09-01 Thread eric roseme
Hi Mark,
As a start, you can get the new updated version based upon 3.0.5 at:
http://www.software.hp.com/portal/swdepot/displayProductInfo.do?productNumber=CIFSTP3
We had some problems with the net command on 3.0.2 when doing the "net 
ads join". It works fine with a W2000 KDC, and a W2003 KDC if you do 
some extra stuff with enctypes.

Eric Roseme
Hewlett-Packard
Rommel, Mark wrote:
I am looking for any assistance on a issue I am currently experience
with Samba and Kerberos.   

We have kerberos and LDAP client software on UNIX (HPUX 11.11), which
authenticates with AD (Windows 2000) using SFU 3.0. All samba users are
stored on Active Directory.  The HP newest version of samba I do believe
is 3.0.2 which from HP is a beta version.   I have worked with HP for
several weeks to get this to work.   Basically I can't map any drives to
any of our Windows 2000 workstation using the AD for login
authentication.  Get several different messages with no success every
time HP wants me to try something different. 

Is anyone out having a similar problem and if how did you resolve it.
HP has been somewhat helpful so I am looking for any suggestions from
others.  


CONFIDENTIALITY NOTICE: This message (including any attachments) may contain Molex confidential information, protected by law.  If this message is confidential, forwarding it to individuals, other than those with a need to know, without the permission of the sender, is prohibited. 
 
This message is also intended for a specific individual.  If you are not the intended recipient, you should delete this message and are hereby notified that any disclosure, copying, or distribution of this message or taking of any action based upon it, is strictly prohibited.

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


Re: [Samba] slow backup using W98

2004-09-01 Thread Jeremy Allison
On Wed, Sep 01, 2004 at 01:27:03PM -0400, Larry Weldon wrote:
> I have been using Samba as a Windows server replacement for years, both
> in my shop and most of my clients. Recently I replaced a WNT 4 server at
> a customer location with a Linux box - Mandrake 10.0 - which is strictly
> a file server.
> 
> The machine my client is using to backup his server is a W98 box w/
> 350MHz/256MB, an HP Travan tape drive and Stomp Backup My PC V5.0. This
> backup was taking about 4 hours when the W98 box was backing up NT (NTFS
> file system) but now doesn't finish overnight. The server only has about
> 2.5GB of data but a great deal of that is in very small files
> concentrated in a few subdirectories of one main directory. The server
> uses software RAID 1 mirroring and Reiserfs file system on two 120GB
> drives - the shared partition is 102GB. The W98 client sees the file
> system as NTFS.

Can you tell me how many files are in the directories. This may be the
performance problem with large numbers of files, which I'm currently
working on. If there are several thousand files per directory you may
be able to make this much faster be canonicalising the case of the
filenames on the Linux box to upper case, then exporting that part
of the filesystem with a share marked as :

case sensitive = yes
preserve case = no
short preserve case = no
default case = upper

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


[Samba] usermgr.exe

2004-09-01 Thread komal
Hello
what is usermgr.exe and what is it use for?

Thank you

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


[Samba] Kerberos issue

2004-09-01 Thread Rommel, Mark
I am looking for any assistance on a issue I am currently experience
with Samba and Kerberos.   

We have kerberos and LDAP client software on UNIX (HPUX 11.11), which
authenticates with AD (Windows 2000) using SFU 3.0. All samba users are
stored on Active Directory.  The HP newest version of samba I do believe
is 3.0.2 which from HP is a beta version.   I have worked with HP for
several weeks to get this to work.   Basically I can't map any drives to
any of our Windows 2000 workstation using the AD for login
authentication.  Get several different messages with no success every
time HP wants me to try something different. 

Is anyone out having a similar problem and if how did you resolve it.
HP has been somewhat helpful so I am looking for any suggestions from
others.  




CONFIDENTIALITY NOTICE: This message (including any attachments) may contain Molex 
confidential information, protected by law.  If this message is confidential, 
forwarding it to individuals, other than those with a need to know, without the 
permission of the sender, is prohibited. 
 
This message is also intended for a specific individual.  If you are not the intended 
recipient, you should delete this message and are hereby notified that any disclosure, 
copying, or distribution of this message or taking of any action based upon it, is 
strictly prohibited.

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


[Samba] Minimum password works but displays wrong.

2004-09-01 Thread George Farris
I have a Samba 3.0.3 system setup with LDAP.

I can set the "min password length" in smb.conf and the system will
respect that but when changing the password from win2k and giving it a
smaller password than set it always display "password must be a minimum
of 5 characters"

It will display this even if "min password length" is set to 7.
You won't actually be able to have a password less than 7 but it
confuses the hell out of our users.

Is there something I'm missing?  Is this a bug in Samba?

-- 
George Farris   [EMAIL PROTECTED]
Malaspina University-College - Cowichan Campus


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


[Samba] Can't Log on with WinXP

2004-09-01 Thread bear
Previously, I wrote that I could not log using WinXP home edition to 
Samba 3.02.  I realized that this is slightly untrue.  The truth, I now 
realize, is that the machine I am using is the one WinXP Professional 
machine I have.  However, it is not set up to log into domains, so I 
don't see how that should matter.

The machine's log file looks like this:
 can't open username map %S=*. Error No such file or directory
[2004/09/01 13:26:49, 0] auth/pampass.c:smb_pam_passcheck(810)
  smb_pam_passcheck: PAM: smb_pam_auth failed - Rejecting User bear !
I don't understand this.  It rejects user bear.  I'm user bear and I 
have access to everything.  Other users cannot log in either.

What am I missing here?
--
To unsubscribe from this list go to the following URL and read the
instructions:  http://lists.samba.org/mailman/listinfo/samba


[Samba] Mapped drive problems XP

2004-09-01 Thread Tom Skeren
Using 3.0.5 as PDC.  Domain functions, machines get added, accounts set 
up with roving profiles.  However, every log on the network drives are 
dropped, and have to be redone manually.  Is there any fix for this?  Is 
this normal behavior?

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


RE: [Samba] LDAP WBEL

2004-09-01 Thread Jeff Saxton
Get the LDAP Administration book by O'Reilly

Jeff Saxton
Sr. Support Engineer
Addamark Technologies, Inc.
http://www.addamark.com
mailto:[EMAIL PROTECTED]
CELL: +1 415-640-6392


-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On
Behalf Of Ganeshram Iyer
Sent: Wednesday, September 01, 2004 11:06 AM
To: [EMAIL PROTECTED]
Subject: [Samba] LDAP WBEL


Hello all:
I was wondering if anyone had a good reference to setting up LDAP 
authentication on WBEL for Linux user accounts, SAMBA and Apache? I 
would even appreciate even just Linux user account example references if

available.

Thanks in advance
Ganesh
-- 
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] LDAP WBEL

2004-09-01 Thread Ganeshram Iyer
Hello all:
I was wondering if anyone had a good reference to setting up LDAP 
authentication on WBEL for Linux user accounts, SAMBA and Apache? I 
would even appreciate even just Linux user account example references if 
available.

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


[Samba] slow backup using W98

2004-09-01 Thread Larry Weldon
I have been using Samba as a Windows server replacement for years, both
in my shop and most of my clients. Recently I replaced a WNT 4 server at
a customer location with a Linux box - Mandrake 10.0 - which is strictly
a file server.

The machine my client is using to backup his server is a W98 box w/
350MHz/256MB, an HP Travan tape drive and Stomp Backup My PC V5.0. This
backup was taking about 4 hours when the W98 box was backing up NT (NTFS
file system) but now doesn't finish overnight. The server only has about
2.5GB of data but a great deal of that is in very small files
concentrated in a few subdirectories of one main directory. The server
uses software RAID 1 mirroring and Reiserfs file system on two 120GB
drives - the shared partition is 102GB. The W98 client sees the file
system as NTFS.

I tried copying the server contents to three different machines: 1) two
other W98 clients with faster, 933MHz CPUs - the job completes in just
over an hour using the Windows explorer file manager; 2) using tar with
compression and copying from the server to another Linux box (used as an
email/web server) running Mandrake 8.2. This job completes in under an
hour.

I installed the Stomp program on one of these two other W98 machines
(933MHz CPU with 196MB) and the backup takes 11 hours and 12 minutes.

My conclusion is of course the Stomp program is a problem here, but is
there a reason that on the slower W98 box NT would be done in 4 hours
and the backup won't even finish overnight from the Linux box?

Also is there a setting in Samba which I might use to allow quicker
access to the smaller files?

Thanks

Larry Weldon
[EMAIL PROTECTED]


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


[Samba] Impossible to use rpcclient on solaris 8

2004-09-01 Thread Guy Roussin
Hi,
I can't use rpcclient on solaris. I test different package of samba (2.2.8, 3.0.2a)
I even try to compile it myself (samba 3.0.5)
This is what i get :
#--
# net join -W mtd -U Administrator
Password:
Joined domain MTD.
# rpcclient -U Administrator localhost
Password:
failed session setup with NT_STATUS_LOGON_FAILURE
Cannot connect to server.  Error was NT_STATUS_LOGON_FAILURE
#--
The smb.conf contains :
 workgroup = MTD
 security = DOMAIN

How can i debug this ?
Thank you very much.
--
Guy Roussin
--
To unsubscribe from this list go to the following URL and read the
instructions:  http://lists.samba.org/mailman/listinfo/samba


[Samba] Giving Up On ADS

2004-09-01 Thread A. Clausen
Well, I've declared defeat, at least for the moment.  I can't get 
kerberos to talk nicely with the Win2k DC.  Not being an expert on NT4 
networks, can I just simply have the Samba box on the Win2k network just 
as a standard Lanman-style box, without Active Directory?

--
A. Clausen
[EMAIL PROTECTED]
--
To unsubscribe from this list go to the following URL and read the
instructions:  http://lists.samba.org/mailman/listinfo/samba


[Samba] Issues after upgrade to 3.0.6 from 3.0.4; fixed in 3.0.7?

2004-09-01 Thread Alex de Vaal
Hello,
 
I run samba 3.0.4 on a RHL9 server. Samba is a domain member of a W2k3 ADS
and I use CUPS as printing mechanism; therefore Samba is compiled with
Kerberos 1.3.1-7 and cups-devel.
 
3.0.4 runs pretty good, printing via CUPS runs well too, only the following
messages I see constantly (this flooding my logs) while using 3.0.4:
 
winbindd.log
=
[2004/07/27 16:07:04, 1] nsswitch/winbindd_group.c:winbindd_getgroups(1059)
  user 'root' does not exist 
 
.log

[2004/07/27 16:17:13, 0] smbd/connection.c:register_message_flags(220)
  register_message_flags: tdb_fetch failed 
 
 
Here are some issues I faced after the upgrade to 3.0.6 from 3.0.4:
 
- "user 'root' does not exist" and "register_message_flags: tdb_fetch
failed" messages are not gone in 3.0.6
 
- The biggest issue is however CUPS; while my smb.conf file wasn't changed
(of course verified with testparm), but since the upgrade the log files are
flooded with these messages:
[2004/09/01 16:16:10, 0] lib/util_str.c:safe_strcpy_fn(600)
  ERROR: string overflow by 1 (32 - 31) in safe_strcpy
[\\192.168.100.151\DUSSEL_LASER01]

My XP clients (sp1), that get their printers installed via the ADS logon
script (e.g. \\DUSSEL.XXX.COM\DUSSEL_LASER01 ) now get 2 printers installed:
"DUSSEL_LASER01 on dussel" and "DUSSEL_LASER01 on 192.168.100.151"
How is this possible? When I downgrade to 3.0.4 everything is the same as it
used to be. I know that a change in 3.0.6 is that different CUPS servers can
be used for printing, which is probably the cause of this behavior between
CUPS and Samba (?).

Fortunately printing is working normally. The flooding of my log files with
this new CUPS behavior in Samba is however terrible, just a login of 1
client produces this in the log file of the client (The client gets 3 shares
and 2 printers installed via the logon script):

[2004/09/01 16:15:49, 1] smbd/service.c:make_connection_snum(648)
  192.168.100.2 (192.168.100.2) connect to service fo1.dussel initially as
user NH-HOTELES\fo1.dussel (uid=10169, gid=1) (pid 1143)
[2004/09/01 16:16:09, 1] smbd/service.c:make_connection_snum(648)
  192.168.100.2 (192.168.100.2) connect to service grp initially as user
NH-HOTELES\fo1.dussel (uid=10169, gid=1) (pid 1143)
[2004/09/01 16:16:09, 1] smbd/service.c:make_connection_snum(648)
  192.168.100.2 (192.168.100.2) connect to service pub initially as user
NH-HOTELES\fo1.dussel (uid=10169, gid=1) (pid 1143)
[2004/09/01 16:16:10, 0] lib/util_str.c:safe_strcpy_fn(600)
  ERROR: string overflow by 1 (32 - 31) in safe_strcpy
[\\192.168.100.151\DUSSEL_LASER01]
[2004/09/01 16:16:10, 0] lib/util_str.c:safe_strcpy_fn(600)
  ERROR: string overflow by 1 (32 - 31) in safe_strcpy
[\\192.168.100.151\DUSSEL_LASER01]
[2004/09/01 16:16:10, 0] lib/util_str.c:safe_strcpy_fn(600)
  ERROR: string overflow by 1 (32 - 31) in safe_strcpy
[\\192.168.100.151\DUSSEL_LASER01]
[2004/09/01 16:16:10, 0] lib/util_str.c:safe_strcpy_fn(600)
  ERROR: string overflow by 1 (32 - 31) in safe_strcpy
[\\192.168.100.151\DUSSEL_LASER01]
[2004/09/01 16:16:10, 0] lib/util_str.c:safe_strcpy_fn(600)
  ERROR: string overflow by 1 (32 - 31) in safe_strcpy
[\\192.168.100.151\DUSSEL_LASER01]
[2004/09/01 16:16:10, 0] lib/util_str.c:safe_strcpy_fn(600)
  ERROR: string overflow by 1 (32 - 31) in safe_strcpy
[\\192.168.100.151\DUSSEL_LASER01]
[2004/09/01 16:16:19, 0] lib/util_str.c:safe_strcpy_fn(600)
  ERROR: string overflow by 1 (32 - 31) in safe_strcpy
[\\192.168.100.151\DUSSEL_LASER01]
[2004/09/01 16:16:19, 0] lib/util_str.c:safe_strcpy_fn(600)
  ERROR: string overflow by 1 (32 - 31) in safe_strcpy
[\\192.168.100.151\DUSSEL_LASER01]
[2004/09/01 16:16:19, 0] lib/util_str.c:safe_strcpy_fn(600)
  ERROR: string overflow by 1 (32 - 31) in safe_strcpy
[\\192.168.100.151\DUSSEL_LASER01]
[2004/09/01 16:16:19, 0] lib/util_str.c:safe_strcpy_fn(600)
  ERROR: string overflow by 1 (32 - 31) in safe_strcpy
[\\192.168.100.151\DUSSEL_LASER01]
[2004/09/01 16:16:19, 0] lib/util_str.c:safe_strcpy_fn(600)
  ERROR: string overflow by 1 (32 - 31) in safe_strcpy
[\\192.168.100.151\DUSSEL_LASER01]
[2004/09/01 16:16:19, 0] lib/util_str.c:safe_strcpy_fn(600)
  ERROR: string overflow by 1 (32 - 31) in safe_strcpy
[\\192.168.100.151\DUSSEL_LASER02]
[2004/09/01 16:16:19, 0] lib/util_str.c:safe_strcpy_fn(600)
  ERROR: string overflow by 1 (32 - 31) in safe_strcpy
[\\192.168.100.151\DUSSEL_LASER02]
[2004/09/01 16:16:19, 0] lib/util_str.c:safe_strcpy_fn(600)
  ERROR: string overflow by 1 (32 - 31) in safe_strcpy
[\\192.168.100.151\DUSSEL_LASER02]
[2004/09/01 16:16:19, 0] lib/util_str.c:safe_strcpy_fn(600)
  ERROR: string overflow by 1 (32 - 31) in safe_strcpy
[\\192.168.100.151\DUSSEL_LASER01]
[2004/09/01 16:16:19, 0] lib/util_str.c:safe_strcpy_fn(600)
  ERROR: string overflow by 1 (32 - 31) in safe_strcpy
[\\192.168.100.151\DUSSEL_LASER01]
[2004/09/01 16:16:19, 0] lib/util_str.c:safe_strcpy_fn(600)
  ERROR: string overflow by 1 (32 - 31) in safe_strcpy
[\\192.168.100.151\DUSSEL_LASER02]

[Samba] Can't log on

2004-09-01 Thread bear
I am running Samba 3.02.
Mandrake Linux 10
About 20 Windows XP Home Edition Machines
I've been running Samba for a couple of years now with no problems, but 
now I am experiencing one.  One of my Windows XP Home Edition machines 
will simply not log on.  We are running plain text passwords.  We are 
not logging into a domain.  It is simply a file server.  We reformatted 
this XP machine and suddenly it asks for a username and password and 
when you enter it, it asks again...and again...and again...
I've checked that the registry entry for enableplaintextpasswords is set 
to 1.  Everything else is as it shoudl be.  Any suggestions?

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


[Samba] problem with net rpc samdump

2004-09-01 Thread Heinz Allerberger
High,
I've  a samba-3.0.5 installation on a Debian Testing distri box, and I 
try to join a Windows 2000 PDC  in an real ADS environment.

I joined successfully the PDC with:
# net rpc join -U Administrator
Password:
Joined domain NEURO
After that I tried to list the sam:
# net rpc samdump
[2004/09/01 16:58:28 , 0] utils/net_rpc_samsync.c:rpc_samdump_internals(222)
Error connecting to NETLOGON pipe
That's all what I got.
Is it, because it is a real ADS environment, or is there anything what I 
do wrong?

Any advise?
Friendly greetings from Germany,
Heinz.
--
To unsubscribe from this list go to the following URL and read the
instructions:  http://lists.samba.org/mailman/listinfo/samba


RE: [Samba] Can't authenticate after upgrade from 2.2.8a to 3.0.6 ..partial fix

2004-09-01 Thread David Brodbeck


> -Original Message-
> From: David Brodbeck [mailto:[EMAIL PROTECTED]

> Okay, I tried the patches at 
> http://samba.org/~jerry/patches/post-3.0.6/.
> Now I can connect fine via smb, but ssh authentication via 
> PAM still doesn't
> work.

Finally I just gave up and went with 2.2.11 instead.  It works fine.  Since
my immediate goal was XP compatibility, it'll do.
-- 
To unsubscribe from this list go to the following URL and read the
instructions:  http://lists.samba.org/mailman/listinfo/samba


Re: [Samba] Re: XP Can't Join Domain

2004-09-01 Thread Paul Gienger

I found the problem! It turned out to be an ldap problem after all. I had
added the machine account to ou=Computers as detailed in most of the
Samba/LDAP documentation. However, Samba was looking for the machine
 

account
 

in ou=People.
 

This is actually a well known (to people that read this list for more
than a couple weeks) bug in the design of samba.  I could swear I got it
working once on a linux box without reconfiguring pam_nss, but I could
be wrong.
   

This error has been corrected on one of later release, say 3.0.6, am I
right?
 

Pretty sure not or I'm guessing there would have been a big note 
someplace in the changelog or release notes since this is a pretty major 
issue for a lot of people.

--
Paul Gienger Office: 701-281-1884
Applied Engineering Inc. 
Information Systems Consultant   Fax:701-281-1322
URL: www.ae-solutions.commailto: [EMAIL PROTECTED]

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


[Samba] sambaAcctFlags question

2004-09-01 Thread Paulo Silva
Hello,

I'm having a small doubt regarding the sambaAcctFlags field in the LDAP
backend of Samba. The documentation states the it's a "string of 11
characters surrounded by square brackets []" but what happens if it
doesn't have all the 11 characters (eg, suppose you have just something
like "[UX]")? Are the existing characters valid or are they just
ignored? Does the same apply to the acctFlags of the ldap_compat
backend?

Thanks for your help
-- 
Paulo Silva <[EMAIL PROTECTED]>
Eurotux SA


signature.asc
Description: Esta =?ISO-8859-1?Q?=E9?= uma parte de mensagem	assinada digitalmente
-- 
To unsubscribe from this list go to the following URL and read the
instructions:  http://lists.samba.org/mailman/listinfo/samba

[Samba] Re: XP Can't Join Domain

2004-09-01 Thread Kang Sun

"Paul Gienger" <[EMAIL PROTECTED]> wrote in message
news:[EMAIL PROTECTED]
> >
> >I found the problem! It turned out to be an ldap problem after all. I had
> >added the machine account to ou=Computers as detailed in most of the
> >Samba/LDAP documentation. However, Samba was looking for the machine
account
> >in ou=People.
> This is actually a well known (to people that read this list for more
> than a couple weeks) bug in the design of samba.  I could swear I got it
> working once on a linux box without reconfiguring pam_nss, but I could
> be wrong.

This error has been corrected on one of later release, say 3.0.6, am I
right?

-- Kang



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


[Samba] MMC and Permission view

2004-09-01 Thread Fierlafijn Pierre
I'm charged to investigate the usage of samba as a file server in a Windows
network with WinXP machines and Active Directory as authentication system.

I experience some problems to let it work correctly.

I can't add some share on the linux debian (2.6.7 with ACL backdoors)
machine with the MMC plug-in. When I try I get access is denied. The
security tab on the winXP machine doesn't reflect the permissions.

smbclient -L localhost -U% --> Ok
kinit  --> Ok
net ads join -U  --> Ok

Configuration:
Kernel 2.6.7 with ACL backdoors
Kerberos  5 authentication
Samba 3.0.5
ACL

smb.conf

[global]
 workgroup = RVPONP
 encrypt passwords = yes
 realm = RVPONP.FGOV.BE
 server string = %h fileserver (Version %v)
 security = ADS
 password server = atos.rvponp.fgov.be
 passwd program = /usr/bin/passwd %u
 passwd chat = *Enter\snew\sUNIX\spassword:* %n\n
*Retype\snew\sUNIX\spassword:* %n\n .
 username map = /etc/samba/smbusers
 syslog = 10
 log file = /var/log/samba/log.%m
 max log size = 1000
 dns proxy = No
 wins server = WINS.RVPONP.FGOV.BE
 ldap ssl = no
 panic action = /usr/share/samba/panic-action %d
 # idmap backend = ldap://atos.rvponp.fgov.be  
 idmap uid = 1-2
 idmap gid = 1-2
 template shell = /bin/bash
 template homedir = /data1/private/%U
 winbind cache time = 10
 winbind use default domain = Yes
 winbind nested groups = Yes
 winbind enum users = Yes
 winbind enum groups = Yes
 invalid users = root
 include = /etc/samba/dhcp.conf

[printers]
 comment = All Printers
 path = /tmp
 create mask = 0700
 printable = Yes
 browseable = No

[print$]
 comment = Printer Drivers
 path = /var/lib/samba/printers

[homes]
 comment = Home Directories
 read only = No

[public]
 comment = Public Shares
 path = /data1/private
 write list = @users
 read only = No
 create mask = 0777
 directory mask = 0777
 guest ok = Yes

[shares]
 comment = Temperory Files
 path = /data1/private/fierpTest
 invalid users = fip01
 admin users = fierp
 directory mask = 0700
 directory security mask = 0700
 guest ok = Yes



Can anyone help me?

Thx,
Pierre Fierlafijn

 

Vriendelijke groeten - Cordialement - Kind Regards


Pierre Fierlafijn

Rijksdienst voor pensioenen - Office national des pensions

Dienst NT RMS - Service NT RMS

blok B 2de verdieping - bloc B 2ième étage

Zuidertoren - Tour du Midi

B-1060 Brussel/Bruxelles

*: +32 (2)529.32.88

*: +32 (2)529.39.09

 



**
This email and any files transmitted with it are confidential and
intended solely for the use of the individual or entity to whom they
are addressed. If you have received this email in error please notify
the system manager.
Rijksdienst voor Pensioenen
Office National des Pensions

**

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


[Samba] Re: migrating a windows NT domain to samba on redhat linux

2004-09-01 Thread Kang Sun
Samba-3 by Example by John H. Terpstra

"Kashif Awan" <[EMAIL PROTECTED]> wrote in message
news:[EMAIL PROTECTED]
> Hello Gurus!!!
> I am running a windows NT domain with a PDC and a BDC.
> I want to migrate this domain to samba on redhat linux
> .
> Somebody please tell me some goods docs about how to
> migrate NT domain.
> Thanks in advance.
> Regards
>
>
> __
> Do You Yahoo!?
> Tired of spam?  Yahoo! Mail has the best spam protection around
> http://mail.yahoo.com
> -- 
> 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


Re: [Samba] Printing help from Windows XP

2004-09-01 Thread Herb Lewis
What is the output of lpstat -t on your linux system?
When you print from linux what command do you use?
It looks like you are calling the printer the wrong name in
your smb.conf file. It must match "exactly" one of the
names returned by lpstat.
Rohan Gilchrist wrote:
Hello,
I'm trying to get priting working from a Windows XP box to a printer
that's been shared via SAMBA.
I can browse the printer fine, and can print fine from linux, but not from
Windows.
The following errors appear in the SAMBA log for the windows host I'm 
printing from:

lp: unable to print file: client-error-not-found
lpstat: Unknown destination "level3-bw"!
The error_log for CUPS, reports:
print_job: resource name '/printers/lvl3-bw' no good!
For reference, here's my smb.conf:

[lvl3-bw]
comment = level 3 printer
path = /var/spool/samba/
read only = No
guest ok = Yes
printable = Yes
printer name = level3-bw
Help please, I'm pulling my hair out over this.
--
To unsubscribe from this list go to the following URL and read the
instructions:  http://lists.samba.org/mailman/listinfo/samba


Re: [Samba] Errormessage

2004-09-01 Thread ds_shadof
> Hi List,
>
> i get sometimes following error message on my Samba 3.0.2.a on SuSE 9.1 Prof.
>
> Sep  1 11:01:53 nfs-1 smbd[18893]: [2004/09/01 11:01:53, 0] 
> lib/util_sock.c:get_peer_addr(975)
> Sep  1 11:01:53 nfs-1 smbd[18893]:   getpeername failed. Error was Transport 
> endpoint is not connected
> Sep  1 11:01:53 nfs-1 smbd[18893]: [2004/09/01 11:01:53, 0] 
> lib/util_sock.c:write_socket_data(411)
> Sep  1 11:01:53 nfs-1 smbd[18893]:   write_socket_data: write failure. Error = 
> Connection reset by peer
> Sep  1 11:01:53 nfs-1 smbd[18893]: [2004/09/01 11:01:53, 0] 
> lib/util_sock.c:write_socket(436)
> Sep  1 11:01:53 nfs-1 smbd[18893]:   write_socket: Error writing 4 bytes to socket 
> 24: ERRNO = Connection reset by peer
> Sep  1 11:01:53 nfs-1 smbd[18893]: [2004/09/01 11:01:53, 0] 
> lib/util_sock.c:send_smb(628)
> Sep  1 11:01:53 nfs-1 smbd[18893]:   Error writing 4 bytes to client. -1. 
> (Connection reset by peer)
>

In my case it was DNS misconfiguration
-- 
To unsubscribe from this list go to the following URL and read the
instructions:  http://lists.samba.org/mailman/listinfo/samba


Re: [Samba] encrypted passwords and /etc/passwd

2004-09-01 Thread Karel Kulhavy
> On 1 Sep 2004 , Karel Kulhavy entreated about
>  "Re: [Samba] encrypted passwords and /etc/passwd":
> 
> Hiya
> 
> } > passwords are stored in smbpasswd and are incompatible with the
> } > /etc/passwd format
> } 
> } Thanks, I completely understand it now. 
> } 
> } I didn't get this idea reading man smb.conf, the entry about  encrypt
> } passwords =. The manpage says that setting encrypt passwords = yes
> } requires usage of smbpasswd. However it doesn't say why. Shouldn't the
> } explanation why be also part of the manpage? Should I file a bugreport
> } against the manpage? 
> 
> must say I never got the idea of using plaintext passwords to bypass 
> the smbpasswd either, but then I'm not looking for that at all, I'd 

for what? bypassing smbpasswd, or using plaintext passwords?

Cl<

> much prefer my Samba users to be unable to login to the *nix part of 
> the box.  My security model goes "they don't need to, therefore 
> prevent them" (-:
> 
> } Should I file this also as a bugreport against the man smb.conf
> } manpage?
> 
> I don't know what a bugreport all entails so it's your call there.
> I'd say that if you can put all the facts together, with references, 
> and just send that as a HOWTO to the list, and maybe a bugreport, 
> that would achieve a lot.
> 
> 
> 
> --
>DA Fo rsythNetwork Supervisor
> Principal Technical Officer  -- Institute for Water Research
> http://www.ru.ac.za/institutes/iwr/
> 
> 
-- 
To unsubscribe from this list go to the following URL and read the
instructions:  http://lists.samba.org/mailman/listinfo/samba


[Samba] encrypted passwords: what negotiation with what client?

2004-09-01 Thread Karel Kulhavy
Hello

man smb.conf encrypt passwords says:

"This  boolean controls whether encrypted passwords will be negotiated
with the client. Note that Windows NT 4.0 SP3  and  above and  also
Windows 98 will by default expect encrypted passwords unless a registry
entry is changed."

What does this mean? From my point of view it can mean 4 totally
different things:

1) That when I run smbd with encrypt passwords = no and NT4.0 client
with default installation, it won't work because NT4.0 client will send
encrypted password and Samba require a plaintext password?
2) That when I run smbd with encrypt passwords = no and NT4.0 client
with default installation, it will work, because NT4.0 client will
albeit expect encrypted passwords, however will resort to unencrypted
passwords upon being told by the server they are the only available
option?
3) That when I run smbclient //windows_machine_with_nt40/share with
encrypt passwords = no, it won't work because NT4.0 server will expect
encrypted bassword and will be supplied with unencrypted one
4) That when I run smbclient //windows_machine_with_nt40/share with
encrypt passwords = no, it will work, because NT4.0 server will albeit
expect encrypted passwords, however will resort to accepting unencrypted
one after being told by smbclient unencrypted ones are the only
possible option?

Basically, the manpage doesn't say two things:
1) whether this relates to a win client -> samba server or samba client
-> win server case
2) What does the word "expect" mean.

What does encrypt passwords = no mean? From my point of view it can
mean 3 totally different things:

1) Encrypted passwords won't be negotiated at all (i. e., it will be
left up to the client whether encrypted or unencrypted passwords will be
used)
2) Unencrypted passwords will be negotiated with the client and if the
client refuses to use unencrypted passwords, then the connection will be
terminated
3) Unencrypted passwords will be negotiated with the client, however
if the client refuses to use unencrypted passwords, then encrypted ones
will be used?

Basically the man page says what happens when I say "yes", but doesn't
say anything what happens when I say "no".

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


[Samba] Problem with winbind and UNIX file permissions

2004-09-01 Thread martin . alfke
We have Samba 3.0-6 (compiled from source) running as a Domain Member
on Sun Solaris9. Samba should operate as a file-server only.
The server exports the same directories that should be made available
to windows clients via NFS. Therefor we need UNIX owner and groups on 
the files and directories.

We decided to use winbind so we do not need to map the Windows- to 
UNIX-Users.

Samba was compiled using:

./configure --prefix=/usr/local/samba --with-winbind --disable-cups
--without-ldap --with-acl-support --without-ads --with-included-popt

Samba and winbind are running fine.

wbinfo -u lists all available Domain Users,
wbinfo -g lists all available Domain Groups

getent passwd lists all available Users (UNIX and Windows)
getent group lists all available Groups (UNIX and Windows)

Connections to the Samba-Server are authenticated via Windows PDC
(password server).

So far everything works

but:

accessing a directory within the share (/export/extern) on with world
has no permissions is not possible.

On the windows client an error message reading Access Denied is shown.

Permission on the directory:

drwxrwx--- u_ext g_ext 1024 /export/extern/newdata

- We tried adding the Windows User to /etc/group:

g_ext:654:u_ext,DOMAIN/user1

no success


- We tried groupmapping via net groupmap add:

net groupmap list | grep g_ext

DOMAIN/g_ext {SID...} : g_ext

no success


It seems to us that winbind and smbd are not looking for groupmapping
or entries in local /etc/group.

Is this correct?

Has anybody encountered same problems?

Any suggestions how we could solve this problem without using local 
usermapping?

Kind regards,

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


Re: [Samba] encrypted passwords and /etc/passwd

2004-09-01 Thread Karel Kulhavy
> On 31 Aug 2004 , Karel Kulhavy entreated about
>  "[Samba] encrypted passwords and /etc/passwd":
> 
> } Isn't it possible to tell Samba server that on the way between a
> } client and the server, the passwords sould be encrypted, and after
> } decryption, they will be checked against /etc/passwd and not
> } smbpasswd, tdb or whatever backend?
> 
> passwords are never decrypted since they use a one way hash function. 
> in other words, the CANNOT be decrypted, for good security reasons.
> when a server stores your password, it stores the encrypted version, 
> and can only check an encrypted password against that.
> 
> Windows and Unix use different password encryption
> 
> therefore, in order to use the Unix encrypted hash in the 
> /etc/passwd, the unix box needs to receive the plain text password 
> from Windows so it can encrypt it itself.  Windows encrypted 
> passwords are stored in smbpasswd and are incompatible with the 
> /etc/passwd format

Thanks, I completely understand it now. 

I didn't get this idea reading man smb.conf, the entry about encrypt
passwords =. The manpage says that setting encrypt passwords = yes
requires usage of smbpasswd. However it doesn't say why. Shouldn't the
explanation why be also part of the manpage? Should I file a bugreport
against the manpage?

The manpage omits also one fact: that when encrypt passwords = no, then
the server won't try to access smbpasswd file and will use /etc/passwd
directly. I thinks this should be added too. It can't be deduced from
what is in the manpage currently.

Should I file this also as a bugreport against the man smb.conf manpage?

Cl<
> 
> 
> --
>DA Fo rsythNetwork Supervisor
> Principal Technical Officer  -- Institute for Water Research
> http://www.ru.ac.za/institutes/iwr/
> 
> 
> 
> -- 
> 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] Errormessage

2004-09-01 Thread Arno Seidel
Hi List,

i get sometimes following error message on my Samba 3.0.2.a on SuSE 9.1 Prof.

Sep  1 11:01:53 nfs-1 smbd[18893]: [2004/09/01 11:01:53, 0] 
lib/util_sock.c:get_peer_addr(975)
Sep  1 11:01:53 nfs-1 smbd[18893]:   getpeername failed. Error was Transport endpoint 
is not connected
Sep  1 11:01:53 nfs-1 smbd[18893]: [2004/09/01 11:01:53, 0] 
lib/util_sock.c:write_socket_data(411)
Sep  1 11:01:53 nfs-1 smbd[18893]:   write_socket_data: write failure. Error = 
Connection reset by peer
Sep  1 11:01:53 nfs-1 smbd[18893]: [2004/09/01 11:01:53, 0] 
lib/util_sock.c:write_socket(436)
Sep  1 11:01:53 nfs-1 smbd[18893]:   write_socket: Error writing 4 bytes to socket 24: 
ERRNO = Connection reset by peer
Sep  1 11:01:53 nfs-1 smbd[18893]: [2004/09/01 11:01:53, 0] 
lib/util_sock.c:send_smb(628)
Sep  1 11:01:53 nfs-1 smbd[18893]:   Error writing 4 bytes to client. -1. (Connection 
reset by peer)

can someone tell me what there goes wrong... 

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


[Samba] Trusted domain Authentication

2004-09-01 Thread fakemail
I've a problem with trusting domain authentication , I've searched the
newsgroup but found no answer .
The configuration is very simple .
A windows 2000 domain (DOMA) , which contains the samba server , and a
Windows 2003 domain (DOMB). The two are trusted by a bidirectional trust .

The problem is that users from the 2003 domain can't get authenticated by
the samba server and are prompted for user and password.
The log


[2004/09/01 10:48:57, 0] rpc_client/cli_netlogon.c:(406)
  cli_net_sam_logon_internal: NT code 0x0001
[2004/09/01 10:48:57, 0] smbd/password.c:(1618)
  domain_client_validate: unable to validate password for user SA1726 in
domain DOMB  to Domain controller srvdom4. Error was NT code 0x0001.
[2004/09/01 10:48:57, 1] smbd/reply.c:(1001)
  Rejecting user 'SIGE': authentication failed

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


[Samba] findsmb and XP SP2

2004-09-01 Thread Gunther Schlegel
Hi,

I noticed that findsmb does not find Windows XP SP2 hosts, not even when
the XP internet firewall is switched off.

Is there any way to reestablish the old behavior?

regards, Gunther

-- 
Gunther SchlegelRiege Software International GmbH
Manager System AdministrationMollsfeld 10
 40670 Meerbusch, Germany
Email: [EMAIL PROTECTED]  Phone: +49-2159-9148-0
  Fax:   +49-2159-9148-11
-

Disclaimer:
You may grab my GPG key from http://www.keyserver.net .
A nonproportional font is recommended for reading.


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

[Samba] Successive writing to a Samba 3 Beta 3 server problem

2004-09-01 Thread Maarten van der Heijden
Hello,

 

I'm currently working on a CIFS client program which has to store data
on a NAS running with Samba 3 beta 3, but I have a problem with it when
I want to write large amounts of data to the NAS. The problem occurs
after about 5-10 min (sometimes less, sometimes longer) when I don't get
a ANDX_WRITE_RESPONSE. The funny thing is that the data packet which
doesn't "cause" a response is exactly the same as the previous data
packet which does "cause" a response. Only after sending another packet,
the write response is sent. 

Is this a beta bug in the samba server, or am I missing something?

Help is very appreciated!

 

Regards

 

Maarten van der Heijden

 

Ps. The program works without problems when sending data to a windows
2000 server.

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


[Samba] Clients get disconnected / Server hangs

2004-09-01 Thread Dirk Wagner
Hi there,
I set up a Samba 3. Server on a SUSE 9.1 box, working as a PDC.
There are Win9X and Win2K Clients connecting to the server, but the 
following problem apears also if only WinXP clients are connected

At a certain time (has been at 1 to 48 hours of uptime), the clients 
loose connection to the server.
At this point, it is not possible to log into the server on a new 
terminal window, but running processes are still running and reacting.
Shuting down the server by software is NOT possible.

It seems that the problem is caused by saving Data to a network 
share, but this could also be only the point where the allready 
existing problem occours...

I disconnected the server from the network to see, if some odd 
traffic is causing the problem - but no change in bahavior.

tcpdump shows also nothing striking.
top -i shows 25 entries with smbd:
6065 root 0 8980 3296 7468 D 0.0 0.0 0:00.00 smbd
...
6078 root 0 8980 3296 7468 D 0.0 0.0 0:00.00 smbd
24 times with user root and one time with an other user (the one who 
mentioned the disconnection first)
all the entries were looking like shown above.

At this point, I can end top and tcpdump but halt shows no reaction...
So I have to reboot the server by cuting the power-cord...
DNS is running on an external server, WINS is running on the Samba-Server.
I already changed the NIC in the server (from Realtek to 3Com) and 
did the same at all Win2K clients.
I changed the patch cables and also the switch.
After dooing so, the system was running fine for a longer time, but 
finaly failed also. In the meantime the behavoir is the same as 
before...

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


Re: [Samba] encrypted passwords and /etc/passwd

2004-09-01 Thread DA Forsyth
On 31 Aug 2004 , Karel Kulhavy entreated about
 "[Samba] encrypted passwords and /etc/passwd":

} Isn't it possible to tell Samba server that on the way between a
} client and the server, the passwords sould be encrypted, and after
} decryption, they will be checked against /etc/passwd and not
} smbpasswd, tdb or whatever backend?

passwords are never decrypted since they use a one way hash function. 
in other words, the CANNOT be decrypted, for good security reasons.
when a server stores your password, it stores the encrypted version, 
and can only check an encrypted password against that.

Windows and Unix use different password encryption

therefore, in order to use the Unix encrypted hash in the 
/etc/passwd, the unix box needs to receive the plain text password 
from Windows so it can encrypt it itself.  Windows encrypted 
passwords are stored in smbpasswd and are incompatible with the 
/etc/passwd format


--
   DA Fo rsythNetwork Supervisor
Principal Technical Officer  -- Institute for Water Research
http://www.ru.ac.za/institutes/iwr/



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


Re: [Samba] Workstation XXXXXX$: no account in domain

2004-09-01 Thread Ilia Chipitsine
> Hi all,
>
> I'm trying to do the same thing "create machine accounts on the fly" and i
> cant get it to work.  I have  the same configuration as TOM but the message
> that I am getting in the samba log file is
>
> [2004/09/01 00:19:38, 0] rpc_server/srv_netlog_nt.c:get_md4pw(244)
>   get_md4pw: Workstation BAGHDAD$: no account in domain
^^

maybe you should look for another stupid american who ruined "Baghdad$"
account :))

>
> What could we be doing wrong?
> - Original Message -
> From: "Tom Skeren" <[EMAIL PROTECTED]>
> To: <[EMAIL PROTECTED]>
> Sent: Tuesday, August 31, 2004 2:56 PM
> Subject: [Samba] XP Problems adding machines "on the fly"
>
>
> > Having trouble with the add machine script.  Followed the chapter 6
> > how-to, but, it fails.  Checking log file for the machine after
> > error-RPC call failed on XP box, I find a 101MB log file filled with
> > -error must provide name- something to that effect.  Any help would be
> > appreciated. smb.conf follows.
> >
> > [global]
> >
> >workgroup = FSK
> >netbios name = Camarillo
> >server string = Camarillo
> >hosts allow =
> > passdb backend = tdbsam
> > #  guest account = pcguest
> >
> >log file = /usr/log/samba/%m.log
> >
> >max log size = 50
> >
> >security = user
> >encrypt passwords = yes
> >
> >write raw = yes
> >strict allocate = No
> >
> >getwd cache = yes
> >write cache size = 262144
> >
> >interfaces =
> >local master = yes
> >enhanced browsing = yes
> >os level = 33
> >preferred master = yes
> >domain master = yes
> >
> >preferred master = yes
> >
> >domain logons = yes
> >obey pam restrictions = yes
> >add machine script = /usr/sbin/adduser -d /dev/null -g 100 \
> > -s /bin/false -M %u
> >idmap uid = 1-2
> >idmap gid = 1-2
> >   logon path = \\camarillo\Profiles\%U
> >
> >wins support = yes
> >lm announce = auto
> >lm interval = 5
> >dns proxy = yes
> >
> >
> >
> > --
> > 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
>
-- 
To unsubscribe from this list go to the following URL and read the
instructions:  http://lists.samba.org/mailman/listinfo/samba


Re: [Samba] gcc: file path prefix `symbolic' never used

2004-09-01 Thread Christoph Scheeder
Hi,
i can't see an error anywhere, only two informational messages from gcc.
Christoph
steven schrieb:
I am compiling Samba 3.06 and get the following errors.
Redhat 7.3
.
Compiling dynconfig.c
Compiling smbd/build_options.c
Linking bin/smbd
Linking bin/nmbd
Linking bin/swat
Linking bin/winbindd
Linking bin/smbclient
Linking bin/net
Linking bin/smbspool
Linking bin/testparm
Linking bin/testprns
Linking bin/smbstatus
Linking bin/smbcontrol
Linking bin/smbtree
Linking bin/nmblookup
Linking bin/pdbedit
Linking bin/smbpasswd
Linking bin/rpcclient
Linking bin/smbcacls
Linking bin/ntlm_auth
Linking bin/smbcquotas
Linking bin/wbinfo
Compiling dynconfig.c with -fPIC
Linking nsswitch/libnss_wins.so
gcc: file path prefix `symbolic' never used
Linking libsmbclient non-shared library bin/libsmbclient.a
Linking libsmbclient shared library bin/libsmbclient.so
gcc: file path prefix `symbolic' never used


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