Re: [Samba] Migrating from Samba 2.2.8 to 3.x on different machine

2004-12-29 Thread Andrew Bartlett
On Tue, 2004-12-28 at 14:40 +0100, Jorick Astrego wrote:
> Hi all!
> 
> Samba 2.x has been running for a while now but now it's time to upgrade. I 
> tried everything (Google, Books, HOWTO's, etc.) but for the last month 
> I've been unable to perform a succesfull migration. Maybe I try to do to 
> many things at once but I cannot get the following to work:
> 
> - Move the samba domain from a 2.x server to 3.x on a different machine
> - switch to a ldap backend
> - change the domain name (our company name has changed)

You will loose all your machine account trusts in this process.  NT
Domains cannot be renamed, without rejoining all the machines.

> - rename all the users from firstname to first initial + lastname

> I installed and configured a 3.x server on the machine with OpenLdap as 
> backend, then I tried to join the old Samba domain so I could use net 
> vampire but I get the message: error setting trust account password: 
> NT_ACCESS_DENIED

Vampire is only for Windows servers.  You cannot vampire a Samba domain
- and there is no need anyway, you have the user database in an open
format already,

Look into the account database migration tools (pdbedit -i -e) in Samba
3.0 after you first get Samba 3.0 managing your new domain.  Also read
the documentation on maintaining a consistent domain SID during the
process.

Andrew Bartlett

-- 
Andrew Bartlett <[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:  https://lists.samba.org/mailman/listinfo/samba

[Samba] Login script Query

2004-12-29 Thread Anandh G
I have a login script to mount some folders to the
clients PC. I use the login script as

login script = logon.bat
[netlogon]
path = /home/%u

Then i create .bat file for each group of users in the
/home dir. Then create a symbolic link in each users
home dir to their respective group batch file in
/home. 

I thought of using login script = %g, which will do
the same. I have one more requirement like if a user
belongs to two group will this %g run both the groups
batch file?

How can I implement this? Plz help me

=
Regards,
AnandhG



__ 
Do you Yahoo!? 
Read only the mail you want - Yahoo! Mail SpamGuard. 
http://promotions.yahoo.com/new_mail 
-- 
To unsubscribe from this list go to the following URL and read the
instructions:  https://lists.samba.org/mailman/listinfo/samba


[Samba] Issues with Solaris 9, and ADS

2004-12-29 Thread David Wruck
I have been working with this for a little over a month now, and here's 
where we are at:

We have 3 domains, 2 of them are sending SIDs to the Solaris box, and 
Kerbos is compiled and working (we can authenticate to any of the 3 
domains), we can get user IDs from any of the 3 domains, however none of 
the users can gain access to the share unless we give them a Unix account.

Samba was compiled with ADS support, and the make file shows that krb5 
and ADS are both 1, however when we add the 'realm =' to the config file 
we get an error with Samba claiming it does not understand the realm 
setting.

We are using 3.0.9, and the exact error is that the AD user is not 
found, yet wbinfo can find the user accounts just fine. The AD is a 2000 AD.

We have followed steps in the docs, and on more mailing lists than I 
care to remember at this point. If anyone could point out any possible 
flaw, I'd appreciate it. I apologize for not having cut and paste 
messages and such, but I'm not anywhere near the machine at the moment, 
however I could post anything that would be useful later.
--
To unsubscribe from this list go to the following URL and read the
instructions:  https://lists.samba.org/mailman/listinfo/samba


[Fwd: [Samba] mounting as a regular user]

2004-12-29 Thread Chris Lawder
Thank you for the reply Joe.
Which smb.conf files would you want to see? I am trying to mount shares 
from 2 FreeBSD, 1 RH9 (linux) and 2 Windows servers to a directory 
structure on my system. To give an idea my mount script is as follows 
(with some info removed):

# Smeagol (FreeBSD Domain Controler/Profile Server)
#
mount -t smbfs -o username=$user,password=$pass,ro //smeagol/home-dir$ 
/backup/smb-mounts/smeagol/home-dir
mount -t smbfs -o username=$user,password=$pass,ro 
//smeagol/samba-shares$ /backup/smb-mounts/smeagol/samba-shares
#
# Aragorn (FreeBSD Dev Server)
#
mount -t smbfs -o username=$user,password=$pass,ro //aragorn/accounting 
/backup/smb-mounts/aragorn/accounting
mount -t smbfs -o username=$user,password=$pass,ro //aragorn/everyone 
/backup/smb-mounts/aragorn/everyone
mount -t smbfs -o username=$user,password=$pass,ro //aragorn/mysql-data$ 
/backup/smb-mounts/aragorn/mysql-data
mount -t smbfs -o username=$user,password=$pass,ro //aragorn/webroot 
/backup/smb-mounts/aragorn/webroot
#
# Boromor (Win2K Dev Server)
#
mount -t smbfs -o username=$user,password=$pass,ro //boromir/websites 
/backup/smb-mounts/boromir/websites
mount -t smbfs -o username=$user,password=$pass,ro //boromir/wwwroot 
/backup/smb-mounts/boromir/wwwroot
#
# Necromancer (Linux JSP/Oracle Server)
#
mount -t smbfs -o username=$user,password=$pass,ro 
//necromancer/webroot-tomcat /backup/smb-mounts/necromancer/webroot-tomcat
mount -t smbfs -o username=$user,password=$pass,ro //necromancer/oracle$ 
/backup/smb-mounts/necromancer/oracle
#
# Saruman (Win2K Exchange Server)
#
mount -t smbfs -o username=$user,password=$pass,ro 
//saruman/exchange-backup$ /backup/smb-mounts/saruman/exchange-backup
#

I can provide smb.conf files if needed for the FreeBSD and linux 
systems. Also for the local system I am trying to mount these shares too 
(Sauron).

Wasn't exactly sure which smb.conf file you were asking to see :-)
Thanks again for replying!!
Chris
--
Number 41 Media Corporation
Suite 103 - 645 Fort Street
Victoria BC V8W 1G2
T 250.414.0410
F 250.414.0411
-- 
To unsubscribe from this list go to the following URL and read the
instructions:  https://lists.samba.org/mailman/listinfo/samba

[Samba] mounting as a regular user

2004-12-29 Thread Chris Lawder
Hi,
This may not be a Samba specific issue I am having but it came up when 
working with samba shares specificaly so I thought I would ask here 
first. Please feel free to redirect me to more appropriate sites if needed.

I am running Samba version 3.0.4 on Slackware 10. I am running into a 
problem with being able to allow a normal non-root user to either mount 
samba shares or regular disk shares but not both. I have made my smbmnt 
suid and have no fstab entries for the samba shares.

Without any other changes I can mount samba shares as my normal user. 
Problem starts when I try to also allow the same user to mount disk 
partitions. In order to have the same user mount disk partitions I have 
added the following lines to my fstab file as per documentation I have 
found:

   /dev/hdb1/backup/staging  reiserfsuser,noauto 0   0
   /dev/sda1 /backup/mediareiserfsuser,noauto 0   0
Now this doesn't seem to work until I "chmod u+s /bin/mount" and "chmod 
u+s /bin/umount". Once those have been suid(ed) the mounting of samba 
shares breaks with the "mount: only root can do that" message.

What I find odd is that I need to apply the suid bit on the binaries 
even with the "user" definition in the fstab file. If this is more of a 
"mount" and "fstab" configuration issue please let me know. I am happy 
to provide more information if needed too.

I'm sure that there is a way to allow a regular user to mount both samba 
shares and disk partitions but how to do that is unfortunatly escaping 
me for the moment. Thanks for the help.

Chris
--
Number 41 Media Corporation
Suite 103 - 645 Fort Street
Victoria BC V8W 1G2
T 250.414.0410
F 250.414.0411
--
To unsubscribe from this list go to the following URL and read the
instructions:  https://lists.samba.org/mailman/listinfo/samba


[Samba] Access denied based on Netbios Alias cont.

2004-12-29 Thread cscott
smbd version = 2.2.7 


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


[Samba] SUMMARY:Re: User authentication to AD200X, need local users?

2004-12-29 Thread spike1197
getent passwd gave me local users only.

In my nsswitch.conf file I had

passwd: winbind compat
shadow: winbind compat
group:  winbind compat

I changed that to

passwd:   files winbind
shadow:   files
group:  files winbind

and everything is happy.
thanks jht for the brain-jar


On Wed, 29 Dec 2004 08:26:51 -0800, spike1197 <[EMAIL PROTECTED]> wrote:
> I am trying to get user authentication in a 200X AD to have domain
> users see the samba shares (RH ES3, samba 3.0.9-1).
> 
> I can see the shares, but when I try to access any of the shares, I
> get prompted for a username and password and this is what shows up in
> the log.winbindd file
> ---
> [2004/12/29 08:17:37, 1] nsswitch/winbindd_user.c:winbindd_getpwnam(161)
>  user 'robl' does not exist
> [2004/12/29 08:17:37, 1] nsswitch/winbindd_user.c:winbindd_getpwnam(161)
>  user 'ROBL' does not exist
> [2004/12/29 08:17:53, 1] nsswitch/winbindd_user.c:winbindd_getpwnam(161)
>  user 'luser-ibmlptp2$' does not exist
> [2004/12/29 08:17:53, 1] nsswitch/winbindd_user.c:winbindd_getpwnam(161)
>  user 'luser-ibmlptp2$' does not exist
> [2004/12/29 08:17:53, 1] nsswitch/winbindd_user.c:winbindd_getpwnam(161)
>  user 'LUSER-IBMLPTP2$' does not exist
> -
> 
> robl the user I'm logged into and LUSER-IBMLPTP2 is the computer name.
> 
> I can get a listing of the domain users from the linux machine with
> the wbinfo command:
> -
> [EMAIL PROTECTED] samba]# wbinfo -u
> TESTER+Administrator
> TESTER+Guest
> TESTER+SUPPORT_388945a0
> TESTER+TEST1$
> TESTER+krbtgt
> TESTER+pauld
> TESTER+robl
> TESTER+tester1
> TESTER+tester2
> TESTER+tester3
> TESTER+TEST2$
> TESTER+gort$
> TESTER+LUSER-IBMLPTP2$
> --
> 
> It may be that I have to config another file in pam.d. here is my
> pam.d/samba and pam.d/login files (respectively)
> 
> #%PAM-1.0
> auth   sufficient   pam_winbind.so
> auth   required pam_unix.so nullok
> accountsufficient   pam_winbind.so
> accountrequired pam_unix.so
> sessionrequired pam_unix.so
> password   required pam_unix.so
> --
> #%PAM-1.0
> auth   required pam_securetty.so
> auth   required pam_stack.so service=system-auth
> auth   required pam_nologin.so
> accountrequired pam_stack.so service=system-auth
> password   required pam_stack.so service=system-auth
> sessionrequired pam_stack.so service=system-auth
> sessionoptional pam_console.so
> ---
> 
> and smb.conf...
> -
> 
> [global]
>netbios name = Gort
>server string = Gort
>workgroup = TESTER
>os level = 20
>encrypt passwords = yes
>security = ADS
>password server = test1.tester.randd.com
>realm = TESTER.RANDD.COM
> 
>winbind separator = +
>winbind uid = 1-2
>winbind gid = 1-2
>winbind enum groups = yes
>winbind enum users = yes
> 
> [space]
>comment = Test Share
>browseable = yes
>writeable = yes
>public = yes
> 
> 
> any input would be great.
> Thanks
>
-- 
To unsubscribe from this list go to the following URL and read the
instructions:  https://lists.samba.org/mailman/listinfo/samba


[Samba] Access denied based on Netbios Alias

2004-12-29 Thread cscott
Every week or so, Samba stops answering to a server's FQ host name via Netbios. 
However, it will continue to answer on an alias declared at "netbios aliases" 
in smb.conf.

"net view \\name01" will result in "Access Denied", and "net view \\name0" is 
successful.

To be clear, both aliases point to the same machine. Restarting the smbd 
service fixes the problem temporarily. Both aliases function via DNS, and WINS 
resolution is correct for both aliases. Does any have any ideas?

FQ host name:  name01

[smb.conf] (global-only)

workgroup = windomain
netbios aliases = name0
security = server
encrypt passwords = yes
password server = windowsdc02, windowsdc01
smb passwd file = /etc/samba/smbpasswd
mangle case = no
interfaces =  xxx.xxx.xxx.xxx
wins server = xxx.xxx.xxx.xxx, xxx.xxx.xxx.xxx
server string = name01
template shell = /bin/false
log file = /var/log/samba/%m.log
max log size = 200
log level = 2
announce version = 4.0
dns proxy = no
name resolve order = hosts wins bcast
socket options = TCP_NODELAY
read raw = yes
getwd cache = yes
invalid users = root
username map = /etc/samba/usermap
time server = yes


TIA,
Casey


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


[Samba] Re: Share reversal

2004-12-29 Thread Harvey, Barry
Hello group, 

 

I have setup 3 simple shares from *nix with 3 Windoze clients. The shares
work perfect when first created, however, after 10~15 minutes of usage the
shares are returned to their default permissions and the clients lose their
ability to connect to the shares. I did an ls -l on the shares and noticed
that their permissions changed after the time with no user or administrator
interaction.  Currently, I am using Mandrake Linux 10.1 (download edition)
and Samba version (3.0.7). Again, thank you for all or any of your help. And
I apologize for the incomplete posting from earlier.

 

 

Example:

 

 

 

Before

 

dwrdwr---   MP3 MP3

 

dwrxwr--FOO FOO

 

 

 

After 10~15 minutes

 

dwr-- MP3 MP3

 

dwr-- FOO FOO

 

[global]

 

   workgroup = MSHOME

 

   server string = MSHOME Server

 

 

   printcap name = cups

   load printers = yes

 

 

   printing = cups

 

 

   log file = /var/log/samba/log.%m

 

   max log size = 50

 

  map to guest = bad user

 

  encrypt passwords = yes

  smb passwd file = /etc/samba/smbpasswd

 

  dns proxy = no 

 

 

 

# Share Definitions == 

[homes]

   comment = Home Directories

   browseable = no

   writable = yes

[MP3]

   path = /home/MP3

   comment = MP3 Share

   browseable = yes

   writable = yes

   create mode = 744

   directory mask = 750

[Software]

   path = /home/SOFTWARE

   comment = Software Share

   browseable = yes

   writable = yes

[SHARED_FILES]

   path = /home/SHARED_FILES

   comment = Share Files

   browseable = yes

   writable = yes

   create mode = 777

   directory mask = 777

 

 

[printers]

   comment = All Printers

   path = /var/spool/samba

   browseable = no

 

   guest ok = yes

   writable = no

   printable = yes

   create mode = 0700

 

 

[pdf-gen]

   path = /var/tmp

   guest ok = No

   printable = Yes

   comment = PDF Generator (only valid users)

   printing = bsd

   printcap name = cups

   #print command = /usr/share/samba/scripts/print-pdf

file path win_path recipient IP &

   print command = /usr/share/samba/scripts/print-pdf

"%s" "%H" "//%L/%u" "%m" "%I" "%J" &

lpq command = /bin/true
-- 
To unsubscribe from this list go to the following URL and read the
instructions:  https://lists.samba.org/mailman/listinfo/samba

[Samba] Upgrading Samba Print Server

2004-12-29 Thread Collins, Kevin
This weekend I'm planning on replacing my exisiting Print Server with shiny
new hardware.  (YEA!!!)

But I'm concerned about the 50+ users that I have connected to the 10
printers this machine shares.  Is there anything I need to do to make this a
quick/easy/painless process?  I know I'll have to re-create the printer
definitions in the CUPS manager, which should be no problem.  But I'm more
concerned about having to touch every workststation *after* the upgrade to
reconnect to the printers.  I need to know whatever I need to avoid having
to do that.

Currently the server is running Red Hat Enterprise 3 + Samba 3.0.9 + CUPS
and is a member server in my Samba+LDAP domain.  I'm going to be replacing
it with Debian Sid + Samba 3.0.10 + CUPS.

Any help, tidbits of wisdom, or other info will be welcomed...

--
Kevin L. Collins, MCSE
Systems Manager
Nesbitt Engineering, Inc.

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


[Samba] Re: Samba share problem

2004-12-29 Thread Danny Paul
> 
> If a user belong to group 'a' logs into the windows PC
> he can access the folder "ab" but he can also see the
> shared "cd" folder. If he tries to access this "cd"
> folder he is asked with username and pasword. If he
> gives the correct username/password of a broup 'b'
> user he is not able to get into the "cd" folder.
> 
> How can I make samba to allow users belonging to group
> 'a' to access "cd" folder when he gives the userame
> password of a group 'b' user.

I don't believe Windows will allow you to connect to the same server with
two different usernames.  In order to connect to the CD chare, the user
would first have to clear his connections to the AB share first.

To test this, try mapping drives using the windows net use command:
1st, net use * \\server\ab /user:auser /persistent:no
2nd, net use * \\server\cd /user:buser /persistent:no 

If the 2nd command fails with "Multiple connections not allowed" then
that is the problem.

Your best bet is to make another group of AB users that should also be
allowed access to CD stuff.  Then add that group to the valid users
directive.

All the best!

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


[Samba] Re: Re: pdc dont save the profile

2004-12-29 Thread Danny Paul
> 
> the problem was the client. the owner played to much with the admin rights
> the settings r completly changed.
> 
> but perhaps u can tell my what u mean with profile share?

It looks like from your config file that the logon path directive is
\\SAMBA_PDC\profiles\%U.  This means that profiles would be stored on
server SAMBA_PDC, on share profiles, in a subdirectory that is the same as
However, you do not have a "profiles" share defined.

The standard profiles share looks something like this:

[profiles]
comment = "Roaming profile share"
path = /profiles
read only = No


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


[Samba] User authentication to AD200X, need local users?

2004-12-29 Thread spike1197
I am trying to get user authentication in a 200X AD to have domain
users see the samba shares (RH ES3, samba 3.0.9-1).

I can see the shares, but when I try to access any of the shares, I
get prompted for a username and password and this is what shows up in
the log.winbindd file
---
 [2004/12/29 08:17:37, 1] nsswitch/winbindd_user.c:winbindd_getpwnam(161)
  user 'robl' does not exist
[2004/12/29 08:17:37, 1] nsswitch/winbindd_user.c:winbindd_getpwnam(161)
  user 'ROBL' does not exist
[2004/12/29 08:17:53, 1] nsswitch/winbindd_user.c:winbindd_getpwnam(161)
  user 'luser-ibmlptp2$' does not exist
[2004/12/29 08:17:53, 1] nsswitch/winbindd_user.c:winbindd_getpwnam(161)
  user 'luser-ibmlptp2$' does not exist
[2004/12/29 08:17:53, 1] nsswitch/winbindd_user.c:winbindd_getpwnam(161)
  user 'LUSER-IBMLPTP2$' does not exist
-

robl the user I'm logged into and LUSER-IBMLPTP2 is the computer name.

I can get a listing of the domain users from the linux machine with
the wbinfo command:
-
[EMAIL PROTECTED] samba]# wbinfo -u
TESTER+Administrator
TESTER+Guest
TESTER+SUPPORT_388945a0
TESTER+TEST1$
TESTER+krbtgt
TESTER+pauld
TESTER+robl
TESTER+tester1
TESTER+tester2
TESTER+tester3
TESTER+TEST2$
TESTER+gort$
TESTER+LUSER-IBMLPTP2$
--

It may be that I have to config another file in pam.d. here is my
pam.d/samba and pam.d/login files (respectively)

#%PAM-1.0
auth   sufficient   pam_winbind.so
auth   required pam_unix.so nullok
accountsufficient   pam_winbind.so
accountrequired pam_unix.so
sessionrequired pam_unix.so
password   required pam_unix.so
--
#%PAM-1.0
auth   required pam_securetty.so
auth   required pam_stack.so service=system-auth
auth   required pam_nologin.so
accountrequired pam_stack.so service=system-auth
password   required pam_stack.so service=system-auth
sessionrequired pam_stack.so service=system-auth
sessionoptional pam_console.so
---

and smb.conf...
-

[global]
netbios name = Gort
server string = Gort
workgroup = TESTER
os level = 20
encrypt passwords = yes
security = ADS
password server = test1.tester.randd.com
realm = TESTER.RANDD.COM

winbind separator = +
winbind uid = 1-2
winbind gid = 1-2
winbind enum groups = yes
winbind enum users = yes

[space]
comment = Test Share
browseable = yes
writeable = yes
public = yes




any input would be great.
Thanks
-- 
To unsubscribe from this list go to the following URL and read the
instructions:  https://lists.samba.org/mailman/listinfo/samba


Re: [Samba] Getting INTERNAL ERROR: Signal 10 in Solaris 9

2004-12-29 Thread Ricardo Martin
Sorry, but the attachments seems to be deleted in the
list. So i put the files directly in the mail:

--- smb.conf ---

# Samba config file created using SWAT
# from 1.1.15.2 (1.1.15.2)
# Date: 2004/12/29 16:13:43

# Global parameters
[global]
workgroup = ARATEST
server string = Pruebas SAMBA
passdb backend = ldapsam:ldap://andorra
log level = 5
log file = /opt/samba3/var/log.%m
logon script = startup.bat
logon path = \\TAUSTE\netlogon
domain logons = Yes
os level = 33
preferred master = Yes
domain master = Yes
wins support = Yes
ldap server = andorra
ldap admin dn = cn=Directory Manager
ldap group suffix = ou=Group,ou=posix
ldap machine suffix = ou=computers,ou=posix
ldap suffix = o=aragon.es,o=root
ldap ssl = no
ldap user suffix = ou=people

[test]
comment = For testing only, please
path = /export/home1/samba3/test
read only = No

[netlogon]
comment = Net Logon Service
path = /opt/samba3/var/netlogon
write list = ntadmin
guest ok = Yes
browseable = No
csc policy = disable
locking = No
share modes = No

[profiles]
path = /opt/samba3/var/profiles
read only = No
create mask = 0600
directory mask = 0700

[homes]
read only = No
browseable = No

[printers]
path = /tmp
printable = Yes
browseable = No

[corporat]
comment = /home1/corporat mount point
path = /home1/corporat
create mask = 0777

[vertical]
comment = /home1/vertical mount point
path = /home1/vertical

[user]
comment = /home1/user mount point
path = /home1/user
read only = No
create mask = 0777

[datablq]
comment = /home1/datablq mount point
path = /home1/datablq
read only = No
create mask = 0777

[winaply]
comment = /home1/winaply mount point
path = /home1/winaply
create mask = 0777

[temporal]
comment = /export/temporal mount point
path = /export/temporal
read only = No
create mask = 0755

[volcados]
comment = /volcados mount point
path = /volcados
read only = No
create mask = 0700


--- log.smbd ---

[2004/12/29 16:12:53, 3]
smbd/process.c:process_smb(1091)
  Transaction 7 of length 244
[2004/12/29 16:12:53, 5] lib/util.c:show_msg(464)
[2004/12/29 16:12:53, 5] lib/util.c:show_msg(474)
  size=240
  smb_com=0x73
  smb_rcls=0
  smb_reh=0
  smb_err=0
  smb_flg=24
  smb_flg2=51207
  smb_tid=0
  smb_pid=65279
  smb_uid=0
  smb_mid=9536
  smt_wct=12
  smb_vwv[ 0]=  255 (0xFF)
  smb_vwv[ 1]=  240 (0xF0)
  smb_vwv[ 2]=16644 (0x4104)
  smb_vwv[ 3]=   50 (0x32)
  smb_vwv[ 4]=0 (0x0)
  smb_vwv[ 5]=0 (0x0)
  smb_vwv[ 6]=0 (0x0)
  smb_vwv[ 7]=   79 (0x4F)
  smb_vwv[ 8]=0 (0x0)
  smb_vwv[ 9]=0 (0x0)
  smb_vwv[10]=  212 (0xD4)
  smb_vwv[11]=40960 (0xA000)
  smb_bcc=181
[2004/12/29 16:12:53, 3]
smbd/process.c:switch_message(886)
  switch message SMBsesssetupX (pid 9210) conn 0x0
[2004/12/29 16:12:53, 3]
smbd/sec_ctx.c:set_sec_ctx(288)
  setting sec ctx (0, 0) - sec_ctx_stack_ndx = 0
[2004/12/29 16:12:53, 5]
auth/auth_util.c:debug_nt_user_token(486)
  NT user token: (NULL)
[2004/12/29 16:12:53, 5]
auth/auth_util.c:debug_unix_user_token(505)
  UNIX token of user 0
  Primary group is 0 and contains 0 supplementary
groups
[2004/12/29 16:12:53, 5]
smbd/uid.c:change_to_root_user(296)
  change_to_root_user: now uid=(0,0) gid=(0,0)
[2004/12/29 16:12:53, 3]
smbd/sesssetup.c:reply_sesssetup_and_X(655)
  wct=12 flg2=0xc807
[2004/12/29 16:12:53, 2]
smbd/sesssetup.c:setup_new_vc_session(608)
  setup_new_vc_session: New VC == 0, if NT4.x
compatible we would close all old resources.
[2004/12/29 16:12:53, 3]
smbd/sesssetup.c:reply_sesssetup_and_X_spnego(535)
  Doing spnego session setup
[2004/12/29 16:12:53, 3]
smbd/sesssetup.c:reply_sesssetup_and_X_spnego(566)
  NativeOS=[Windows 2002 2600 Service Pack 1]
NativeLanMan=[Windows 2002 5.1] PrimaryDomain=[]
[2004/12/29 16:12:53, 3]
smbd/sesssetup.c:reply_spnego_negotiate(444)
  Got OID 1 3 6 1 4 1 311 2 2 10
[2004/12/29 16:12:53, 3]
smbd/sesssetup.c:reply_spnego_negotiate(447)
  Got secblob of size 45
[2004/12/29 16:12:53, 5]
auth/auth.c:make_auth_context_subsystem(477)
  Making default auth method list for DC,
security=user, encrypt passwords = yes
[2004/12/29 16:12:53, 5]
auth/auth.c:load_auth_module(384)
  load_auth_module: Attempting to find an auth method
to match guest
[2004/12/29 16:12:53, 5]
auth/auth.c:load_auth_module(409)
  load_auth_module: auth method guest has a valid init
[2004/12/29 16:12:53, 5]
auth/auth.c:load_auth_module(384)
  load_auth_module: Attempting to find an auth method
to match sam
[2004/12/29 16:12:53, 5]
auth/auth.c:load_auth_module(409)
  load_auth_module: auth method sam has a valid ini

[Samba] Getting INTERNAL ERROR: Signal 10 in Solaris 9

2004-12-29 Thread Ricardo Martin
Hello all,

I have compiled a Samba 3.0.10 in a Solaris 9 box with
OpenLDAP 2.2.17. The options i've compiled with are
the following:

./configure --prefix=/opt/samba3 --without-readline
--enable-shared=yes --enable-static=yes
--with-acl-support --with-smbwrapper
--with-sys-quotas=no --without-winbind --with-ldapsam

This Samba is PDC of a windows mixed environment
(95/98/XP). Sometimes a user in a XP box can't be
logged in the domain (message: "Windows cannot connect
to the domain either because the domain controller is
down or otherwise unavailable or because your computer
account was not found"). The reason seems to be that
the daemon crash with the message:

[2004/12/29 16:12:53, 0] lib/fault.c:fault_report(36)
 
===
[2004/12/29 16:12:53, 0] lib/fault.c:fault_report(37)
  INTERNAL ERROR: Signal 10 in pid 9210 (3.0.10)
  Please read the appendix Bugs of the Samba HOWTO
collection
[2004/12/29 16:12:53, 0] lib/fault.c:fault_report(39)
 
===
[2004/12/29 16:12:53, 0] lib/util.c:smb_panic2(1482)
  PANIC: internal error

Somebody knows anything about this, is there any
problem with solaris or i've lost something.

My configuration and the level 5 smbd log is attached.

TIA

=
. ,
 ,   |\ ,__
 |\   \/   `.
 \ `-.:. `\
  `-.__ `\=|
 /=`'/   ^_\
   .'   /\   .=)
.-'  .'|  '-(/_|
  .'  __(  \  .'`
 /_.'`  `.  |`
ricky \ |
   |/



__ 
Renovamos el Correo Yahoo!: ¡250 MB GRATIS! 
Nuevos servicios, más seguridad 
http://correo.yahoo.es-- 
To unsubscribe from this list go to the following URL and read the
instructions:  https://lists.samba.org/mailman/listinfo/samba

Re: [Samba] Re: Choosing hardware for a Samba based home media server

2004-12-29 Thread awilliam
> Adam's presentation on XFS should clear up some of those questions...
> ftp://ftp.kalamazoolinux.org/pub/pdf/XFS.pdf
> 1) Fast for lots of files
> 2) Fast for big files

2.5) Efficient for very small files

> 2) Native ACL support
> 3) Samba team recommended
> 4) Built in storage management tools - backup / restore
-- 
To unsubscribe from this list go to the following URL and read the
instructions:  https://lists.samba.org/mailman/listinfo/samba


Re: [Samba] Re: Choosing hardware for a Samba based home media server

2004-12-29 Thread awilliam
> > Seems like a pretty light-weight load to me. I dare say a 1GHz CPU and IDE
> disk could do that!
> > XFS filesystem will be a plus for any server, media server included.
> Couldn't help myself but why is XFS a plus for any server? Why do you
> recomend XFS specifically?

ftp://ftp.kalamazoolinux.org/pub/pdf/XFS.pdf
-- 
To unsubscribe from this list go to the following URL and read the
instructions:  https://lists.samba.org/mailman/listinfo/samba


[Samba] smb_add_request times out

2004-12-29 Thread Paul W. Abrahams
I've been trying to copy a folder ("My Documents", actually) from a Win2K 
machine to a Linux machine running Samba.  I can mount the folder under Linux 
using smbmount, but when I attempt the copy, using either rsync or cp, I get 
repeated messages like this after some files have been copied correctly:

   smb_add_request: request [cd403380, mid=797] timed out!

On further investigation I determined that the copy was hanging up on a 
particular file -- a .ppt file of about 2.8MB.  The preceding files were all 
much smaller.   I was able to copy that file onto a different Win machine 
with no difficulty at all, so the problem clearly lies with some interaction 
between Samba and Win2K.   I doubt if the particular contents or nature of 
the troublesome file are relevant.  The file is large but hardly huge.

I'm running Samba 3.0.9-2.1.5, packaged as a SuSE rpm, under SuSE 9.1 Linux.  
If it's relevant, I also have open-ldap2-client 2.2.6-34 installed.

What is worse is that if I do the full rsync copy and just let it run, 
eventually the entire Linux machine freezes and must be rebooted.

Ideas, anyone?

Paul Abrahams

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


[Samba] Re: Choosing hardware for a Samba based home media server

2004-12-29 Thread Michael Lueck
Chris Roubekas wrote:
Couldn't help myself but why is XFS a plus for any server? Why do you
recomend XFS specifically?
Adam's presentation on XFS should clear up some of those questions...
ftp://ftp.kalamazoolinux.org/pub/pdf/XFS.pdf
1) Fast for lots of files
2) Fast for big files
2) Native ACL support
3) Samba team recommended
4) Built in storage management tools - backup / restore
Just as a start...
I switched to XFS exclusively - workstations and servers.
--
Michael Lueck
Lueck Data Systems
Remove the upper case letters NOSPAM to contact me directly.
--
To unsubscribe from this list go to the following URL and read the
instructions:  https://lists.samba.org/mailman/listinfo/samba


[Samba] Re: Share reversal

2004-12-29 Thread Harvey, Barry
Currently, I am using Mandrake Linux 10.1 (download edition) for Samba
version (3.0.7). Again, thank you for all or any of your help. 

 

[global]

 

   workgroup = MSHOME

 

   server string = MSHOME Server

 

 

   printcap name = cups

   load printers = yes

 

 

   printing = cups

 

 

   log file = /var/log/samba/log.%m

 

   max log size = 50

 

  map to guest = bad user

 

  encrypt passwords = yes

  smb passwd file = /etc/samba/smbpasswd

 

  dns proxy = no 

 

 

 

# Share Definitions
== 

[homes]

   comment = Home Directories

   browseable = no

   writable = yes

[MP3]

   path = /home/MP3

   comment = MP3 Share

   browseable = yes

   writable = yes

   create mode = 744

   directory mask = 750

[Software]

   path = /home/SOFTWARE

   comment = Software Share

   browseable = yes

   writable = yes

[SHARED_FILES]

   path = /home/SHARED_FILES

   comment = Share Files

   browseable = yes

   writable = yes

   create mode = 777

   directory mask = 777

 

 

[printers]

   comment = All Printers

   path = /var/spool/samba

   browseable = no

 

   guest ok = yes

   writable = no

   printable = yes

   create mode = 0700

 

 

[pdf-gen]

   path = /var/tmp

   guest ok = No

   printable = Yes

   comment = PDF Generator (only valid users)

   printing = bsd

   printcap name = cups

   #print command = /usr/share/samba/scripts/print-pdf

file path win_path recipient IP &

   print command = /usr/share/samba/scripts/print-pdf

"%s" "%H" "//%L/%u" "%m" "%I" "%J" &

lpq command = /bin/true

 

 

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


Re: [Samba] Re: Choosing hardware for a Samba based home media server

2004-12-29 Thread Chris Roubekas

> Seems like a pretty light-weight load to me. I dare say a 1GHz CPU and IDE
disk could do that!
>
> XFS filesystem will be a plus for any server, media server included.
>
> --
> Michael Lueck
> Lueck Data Systems

Couldn't help myself but why is XFS a plus for any server? Why do you
recomend XFS specifically?
Chris

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


[Samba] Re: Choosing hardware for a Samba based home media server

2004-12-29 Thread Michael Lueck
Matt Roper wrote:
*  music files (about 6000, mostly mp3)
*  images (about 4000, mostly jpg)
*  the odd video (about 15, mostly music videos)
Seems like a pretty light-weight load to me. I dare say a 1GHz CPU and IDE 
disk could do that!
XFS filesystem will be a plus for any server, media server included.
--
Michael Lueck
Lueck Data Systems
Remove the upper case letters NOSPAM to contact me directly.
--
To unsubscribe from this list go to the following URL and read the
instructions:  https://lists.samba.org/mailman/listinfo/samba


Re: [Samba] smbpasswd

2004-12-29 Thread Olivier Navas
If I have correctly understood what you want to do, the simple answer
is: you can't.

The passwords stored in shadow file and in smbpasswd, though they may be
the same (in clear text), are encrypted with two different one way hash
functions. In order to put in smbpasswd the same user passwords than in
shadow, you need to compute the hash string from the passwords in clear
text.

The only reasonable way to achieve this is to implement some solution
that keeps unix passwords and samba passwords synchronized (such as what
can be done in smb.conf with "unix password sync" and "passwd program"
but there are many other solutions) and to ask users to change their
passwords once, so that shadow and smbpasswd hash strings are computed
from the same password.


Le mer 29/12/2004 à 13:26, Rodrigo Noroaldo de Castro Fernandes a écrit
:
> --ms080602000709060800080902
> Content-Type: text/plain; charset=ISO-8859-1; format=flowed
> Content-Transfer-Encoding: 7bit
> 
> Dear all,
> 
>   How can I convert the Linux users password (/etc/shadow) to Samba users 
> password (.../private/smbpasswd)?
> 
> Best Brazilian regards
-- 
Olivier Navas
Groupement Informatique et Télécommunications
SDIS 33

-
Humor in the Court:
Q: Are you qualified to give a urine sample?
A: Yes, I have been since early childhood.

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


[Samba] Choosing hardware for a Samba based home media server

2004-12-29 Thread Matt Roper
I am considering obtaining a PC to host Samba as a home media server.

The server will hold:

 

*  music files (about 6000, mostly mp3)

*  images (about 4000, mostly jpg)

*  the odd video (about 15, mostly music videos)

 

It will be used to stream media to no more than 5 PCs (i.e. one in the
living room to handle 'My Picture' slideshows, and playing music files,
etc). Most of the client machines will have no hard drive and will boot from
a Compact Flash card.

 

My questions are:

 

 1. Is Samba the right choice of software for this type of application?

 

 2. What hardware would I need for this machine? (Obviously, plenty of disk
storage (scsi/raid?), but what about processor and memory?)

 

Thanks...

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


[Samba] smbpasswd

2004-12-29 Thread Rodrigo Noroaldo de Castro Fernandes
Dear all,
	How can I convert the Linux users password (/etc/shadow) to Samba users 
password (.../private/smbpasswd)?

Best Brazilian regards
--
  Rodrigo Noroaldo de Castro Fernandes
  [EMAIL PROTECTED]
-- 
To unsubscribe from this list go to the following URL and read the
instructions:  https://lists.samba.org/mailman/listinfo/samba