[Samba] Samba on solaris 8

2012-03-05 Thread Gaiseric Vandal

You should start a new e-mail thread instead of reply to all for

You may be able to get a precompiled version of samba for solaris 8 from 
www.blastwave.org.
If you are NOT familiar with solaris administration this will probably 
not be appropriate for you.



Solaris 8 is very old.  You are better off moving to Solaris 10 which 
includes samba 3.4.x.   Solaris 10 administration is different that 
Solaris 8.  If you are not familiar with Solaris 10 administration you 
should not do this.  You may be better off going with a recent linux 
release.








On 03/05/12 07:55, Mayamurugan M wrote:

Dear all,

I want to install solaris 8 samba server
kindly guide basic download version and
installation basic setup
Example : pkg add and patchad and download samba server.
















On 3/2/12, Benedikt Schindlerbenischind...@gmx.de  wrote:

Samba version : 3.6.3
Filesystem :BTRFS
Clients :   XP, Win7
Log Level : 5


When we start our samba server everything works fine.
After a few days, some of our users are not allowed to connect to shares
anymore. When we restart the clients they can connect for a short time
and then say have the same problem again.

When we restart the server everything works fine for a few days again.
We set the winbind offline logon = yes and it slowed down the process,
but didn't stop it.

After a long search i think i found the problem.

The user has 401217 as mapped ID,
and should be in the groups
   400513
   401612
   401609
   401611

But samba just put him into
   400513
   401612
   401611

So samba lost one group. And thats the reason the user is not allowed to
connect to the share, because only the group 401609 has a read permisson.

Any ideas how that could happen?


Here is a log of a failed login:


[2012/03/02 11:37:52.842978,  5]
../libcli/security/security_token.c:63(security_token_debug)
   Security token SIDs (15):
 SID[  0]: S-1-5-21-1004336348-920026266-682003330-1217
 SID[  1]: S-1-5-21-1004336348-920026266-682003330-513
 SID[  2]: S-1-5-21-1004336348-920026266-682003330-1612
 SID[  3]: S-1-5-21-1004336348-920026266-682003330-1609
 SID[  4]: S-1-5-21-1004336348-920026266-682003330-1611
 SID[  5]: S-1-1-0
 SID[  6]: S-1-5-2
 SID[  7]: S-1-5-11
 SID[  8]: S-1-22-1-401217
 SID[  9]: S-1-22-2-400513
 SID[ 10]: S-1-22-2-401612
 SID[ 11]: S-1-22-2-401611
 SID[ 12]: S-1-22-2-7
 SID[ 13]: S-1-22-2-70002
 SID[ 14]: S-1-22-2-70011
Privileges (0x   0):
Rights (0x   0):
[2012/03/02 11:37:52.843247,  5]
auth/token_util.c:527(debug_unix_user_token)
   UNIX token of user 401217
   Primary group is 400513 and contains 6 supplementary groups
   Group[  0]: 400513
   Group[  1]: 401612
   Group[  2]: 401611
   Group[  3]: 7
   Group[  4]: 70002
   Group[  5]: 70011
[2012/03/02 11:37:52.843372,  5] smbd/uid.c:317(change_to_user_internal)
   Impersonated user: uid=(0,401217), gid=(0,400513)
[2012/03/02 11:37:52.843408,  4] smbd/vfs.c:780(vfs_ChDir)
   vfs_ChDir to /home/data
[2012/03/02 11:37:52.843443,  4] smbd/vfs.c:780(vfs_ChDir)
   vfs_ChDir to /home/data
[2012/03/02 11:37:52.843476,  3] smbd/service.c:190(set_current_service)
   chdir (/home/data) failed, reason: Keine Berechtigung
[2012/03/02 11:37:52.843509,  3] smbd/error.c:81(error_packet_set)
   error packet at smbd/process.c(1558) cmd=50 (SMBtrans2)
NT_STATUS_ACCESS_DENIED




Configuration parts that are maybe interresting:
smb.conf:


security = ADS

socket options = SO_KEEPALIVE IPTOS_LOWDELAY TCP_NODELAY
nt acl support = yes
vfs objects = acl_xattr

winbind enum users = yes
 winbind enum groups = yes
 winbind offline logon = yes
 allow trusted domains = yes

 idmap config * : backend = rid
 idmap config * : range   = 7-9
 idmap config * : base_rid= 0

 idmap config A : backend = rid
 idmap config A : range   = 40-49
 idmap config A : base_rid= 0

 idmap config B : backend  = rid
 idmap config B : range= 30-39
 idmap config B : base_rid = 0



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



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


Re: [Samba] Samba 3.5.6, Solaris 10, pam_winbind.so will not link

2011-02-03 Thread nickbailey

Did you ever find a more elegant way of fixing this  (I'm having the same
problem and hacking the generated Makefile just seems wrong)
-- 
View this message in context: 
http://samba.2283325.n4.nabble.com/Samba-3-5-6-Solaris-10-pam-winbind-so-will-not-link-tp3015506p3251459.html
Sent from the Samba - General mailing list archive at Nabble.com.
-- 
To unsubscribe from this list go to the following URL and read the
instructions:  https://lists.samba.org/mailman/options/samba


Re: [Samba] Samba 3.5.6, Solaris 10, pam_winbind.so will not link

2010-11-04 Thread Robert M. Martel - CSU

In case others have this problem.

On 10/27/2010 09:50 AM, Robert M. Martel - CSU wrote:
...

Linking shared library bin/pam_winbind.so
Undefined first referenced
symbol in file
libintl_bindtextdomain ../nsswitch/pam_winbind.o
libintl_dgettext ../nsswitch/pam_winbind.o
ld: fatal: Symbol referencing errors. No output written to
bin/pam_winbind.so
collect2: ld returned 1 exit status
make: *** [bin/pam_winbind.so] Error 1



I ended up adding -lintl to several other locations in the configure 
generated makefile including the first LIBS line and on lines for 
building the pam winbind shared libraries.


Then I was able to complete the build process.


--
***
Robert M. Martel I met someone who looks a lot like you
System Administrator She does the things you do
Levin College of Urban Affairs   But she is an IBM
Cleveland State University   -Jeff Lynne
(216) 687-2214
r.mar...@csuohio.edu
***
--
To unsubscribe from this list go to the following URL and read the
instructions:  https://lists.samba.org/mailman/options/samba


Re: [Samba] Samba 3.5.6, Solaris 10, pam_winbind.so will not link

2010-10-31 Thread Christopher Chan

On Friday, October 29, 2010 11:34 PM, Robert M. Martel - CSU wrote:



On 10/27/2010 06:04 PM, Christopher Chan wrote:

On Wednesday, October 27, 2010 09:50 PM, Robert M. Martel - CSU wrote:

Still no progress trying to get Samba 3.5.6 built on Solaris 10, using
gcc 3.4.6.



Isn't it bad to use gcc for this? pam_winbind and nss_winbind would be
using gcc ABI while the rest of the system using Sun Studio ABI...


I have not had an issue before in years of Solaris 8, 9, and 10 using
gcc to build samba, and everything else.



Ah, sorry, got mixed up. It's only g++ versus Sun Studio C++ ABI. C code 
are fine.


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


Re: [Samba] Samba 3.5.6, Solaris 10, pam_winbind.so will not link

2010-10-29 Thread Robert M. Martel - CSU



On 10/27/2010 06:04 PM, Christopher Chan wrote:

On Wednesday, October 27, 2010 09:50 PM, Robert M. Martel - CSU wrote:

Still no progress trying to get Samba 3.5.6 built on Solaris 10, using
gcc 3.4.6.



Isn't it bad to use gcc for this? pam_winbind and nss_winbind would be
using gcc ABI while the rest of the system using Sun Studio ABI...


I have not had an issue before in years of Solaris 8, 9, and 10 using 
gcc to build samba, and everything else.



Linking shared library bin/pam_winbind.so
Undefined first referenced
symbol in file
libintl_bindtextdomain ../nsswitch/pam_winbind.o
libintl_dgettext ../nsswitch/pam_winbind.o
ld: fatal: Symbol referencing errors. No output written to
bin/pam_winbind.so
collect2: ld returned 1 exit status
make: *** [bin/pam_winbind.so] Error 1



DO you have libintl somewhere?



Yes, in /usr/local/lib.  The prior parts of the samba build process can 
find it once I add -lintl to the LIBS line 25 of the Makefile. 
Running the make without that modification yields problems earlier in 
the build process. I found I was not the only one with that issue:

http://forums.sun.com/thread.jspa?threadID=5445706

-Bob

--
***
Robert M. Martel I met someone who looks a lot like you
System Administrator She does the things you do
Levin College of Urban Affairs   But she is an IBM
Cleveland State University   -Jeff Lynne
(216) 687-2214
r.mar...@csuohio.edu
***
--
To unsubscribe from this list go to the following URL and read the
instructions:  https://lists.samba.org/mailman/options/samba


[Samba] Samba 3.5.6, Solaris 10, pam_winbind.so will not link

2010-10-27 Thread Robert M. Martel - CSU

Greetings,

Still no progress trying to get Samba 3.5.6 built on Solaris 10, using 
gcc 3.4.6.


Maybe fresh eyes will see something?  Been having issues building samba 
since 3.4.9 (and anything greater than 3.2.15 on Solaris 9 where samba 
will build, but winbind will not work properly for user authentication.)


techops$ make
Using CFLAGS = -I/opt/local/kerberos5/include -O -I. 
-I/usr/local/src/samba-3.5.6/source3 
-I/usr/local/src/samba-3.5.6/source3/iniparser/src -Iinclude -I./include 
 -I. -I. -I./../lib/replace -I./../lib/tevent -I./libaddns -I./librpc 
-I./.. -I./../lib/talloc -I../lib/tdb/include -DHAVE_CONFIG_H 
-I/opt/local/kerberos5/include -I/opt/local/openldap/include 
-L/usr/local/lib -R /usr/local/lib -L/usr/sfw/lib -R /usr/sfw/lib 
-D_LARGEFILE_SOURCE -D_REENTRANT -D_FILE_OFFSET_BITS=64 
-DLDAP_DEPRECATED -DSUNOS5  -I/usr/local/src/samba-3.5.6/source3/lib 
-I.. -I../source4 -D_SAMBA_BUILD_=3 -D_SAMBA_BUILD_=3

  PICFLAG= -fPIC
  LIBS   = -lsendfile -lresolv -lrt -lnsl -lsocket -liconv -lintl
  LDFLAGS= -pie  -L/opt/local/kerberos5/lib 
-R/opt/local/kerberos5/lib -Wl,-z,ignore -L/opt/local/openldap/lib 
-L/usr/local/lib -R/usr/local/lib -R/opt/local/openldap/lib -lthread -L./bin

  DYNEXP =
  LDSHFLAGS  = -fPIC -shared  -L/opt/local/kerberos5/lib 
-R/opt/local/kerberos5/lib -Wl,-z,ignore -L/opt/local/openldap/lib 
-L/usr/local/lib -R/usr/local/lib -R/opt/local/openldap/lib -lthread 
-L./bin -lc -Wl,-z,defs

  SHLIBEXT   = so
  SONAMEFLAG = -Wl,-h,
Linking shared library bin/pam_winbind.so
Undefined   first referenced
 symbol in file
libintl_bindtextdomain  ../nsswitch/pam_winbind.o
libintl_dgettext../nsswitch/pam_winbind.o
ld: fatal: Symbol referencing errors. No output written to 
bin/pam_winbind.so

collect2: ld returned 1 exit status
make: *** [bin/pam_winbind.so] Error 1

--
***
Robert M. MartelPushing myself and this old machine
System AdministratorBurning fumes
Levin College of Urban Affairs  and what's left of my dreams
Cleveland State University
(216) 687-2214
r.mar...@csuohio.edu
***
--
To unsubscribe from this list go to the following URL and read the
instructions:  https://lists.samba.org/mailman/options/samba


Re: [Samba] Samba 3.5.6, Solaris 10, pam_winbind.so will not link

2010-10-27 Thread Jeremy Allison
On Wed, Oct 27, 2010 at 09:50:44AM -0400, Robert M. Martel - CSU wrote:
 Greetings,
 
 Still no progress trying to get Samba 3.5.6 built on Solaris 10,
 using gcc 3.4.6.
 
 Maybe fresh eyes will see something?  Been having issues building
 samba since 3.4.9 (and anything greater than 3.2.15 on Solaris 9
 where samba will build, but winbind will not work properly for user
 authentication.)
 
 techops$ make
 Using CFLAGS = -I/opt/local/kerberos5/include -O -I.
 -I/usr/local/src/samba-3.5.6/source3
 -I/usr/local/src/samba-3.5.6/source3/iniparser/src -Iinclude
 -I./include  -I. -I. -I./../lib/replace -I./../lib/tevent
 -I./libaddns -I./librpc -I./.. -I./../lib/talloc
 -I../lib/tdb/include -DHAVE_CONFIG_H -I/opt/local/kerberos5/include
 -I/opt/local/openldap/include -L/usr/local/lib -R /usr/local/lib
 -L/usr/sfw/lib -R /usr/sfw/lib -D_LARGEFILE_SOURCE -D_REENTRANT
 -D_FILE_OFFSET_BITS=64 -DLDAP_DEPRECATED -DSUNOS5
 -I/usr/local/src/samba-3.5.6/source3/lib -I.. -I../source4
 -D_SAMBA_BUILD_=3 -D_SAMBA_BUILD_=3
   PICFLAG= -fPIC
   LIBS   = -lsendfile -lresolv -lrt -lnsl -lsocket -liconv -lintl
   LDFLAGS= -pie  -L/opt/local/kerberos5/lib
 -R/opt/local/kerberos5/lib -Wl,-z,ignore -L/opt/local/openldap/lib
 -L/usr/local/lib -R/usr/local/lib -R/opt/local/openldap/lib -lthread
 -L./bin
   DYNEXP =
   LDSHFLAGS  = -fPIC -shared  -L/opt/local/kerberos5/lib
 -R/opt/local/kerberos5/lib -Wl,-z,ignore -L/opt/local/openldap/lib
 -L/usr/local/lib -R/usr/local/lib -R/opt/local/openldap/lib -lthread
 -L./bin -lc -Wl,-z,defs
   SHLIBEXT   = so
   SONAMEFLAG = -Wl,-h,
 Linking shared library bin/pam_winbind.so
 Undefined   first referenced
  symbol in file
 libintl_bindtextdomain  ../nsswitch/pam_winbind.o
 libintl_dgettext../nsswitch/pam_winbind.o
 ld: fatal: Symbol referencing errors. No output written to
 bin/pam_winbind.so
 collect2: ld returned 1 exit status
 make: *** [bin/pam_winbind.so] Error 1

I think you need to add -lintl to the link line.
-- 
To unsubscribe from this list go to the following URL and read the
instructions:  https://lists.samba.org/mailman/options/samba


Re: [Samba] Samba 3.5.6, Solaris 10, pam_winbind.so will not link

2010-10-27 Thread Christopher Chan

On Wednesday, October 27, 2010 09:50 PM, Robert M. Martel - CSU wrote:

Greetings,

Still no progress trying to get Samba 3.5.6 built on Solaris 10, using
gcc 3.4.6.



Isn't it bad to use gcc for this? pam_winbind and nss_winbind would be 
using gcc ABI while the rest of the system using Sun Studio ABI...




Linking shared library bin/pam_winbind.so
Undefined first referenced
symbol in file
libintl_bindtextdomain ../nsswitch/pam_winbind.o
libintl_dgettext ../nsswitch/pam_winbind.o
ld: fatal: Symbol referencing errors. No output written to
bin/pam_winbind.so
collect2: ld returned 1 exit status
make: *** [bin/pam_winbind.so] Error 1



DO you have libintl somewhere?

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


Re: [Samba] samba 3.4.8 / solaris / unix secondary groups

2010-08-23 Thread Reinhard Sojka

hi,

some years ago I had a similar problem with Solaris 9 and Samba 3.0.x. 
The reason was some sort of incompatibility between OpenLDAP's libldap 
and Sun's libsldap, can't remember the exact details. Anyway the 
behavior of Solaris 9 in honoring secondary groups was dependent on the 
patch level, and the whole issue was resolved with a patch from Sun.
Are you sure that both servers are on the same patch level? Check 
/etc/release and the patches for LDAP on both systems, maybe you can 
find a difference that explains this behavior.


kind regards,
Reinhard

Joe Cammisa wrote:

samba-3.4.8 built under solaris_10 (--with-krb5=/sr/local/lib --with-ads
--with-ldap); on my test server it runs flawlessly; however on the
production server, there is a big exception:  users' secondary group
memberships are not honored.




again, same samba version, built against the same libraries in the same
way with the same config file in both cases.  any one with an idea how i
might make this work?  many thanks in advance!!

-joe


  

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


Re: [Samba] samba 3.4.8 / solaris / unix secondary groups

2010-08-23 Thread Joe Cammisa

thanks, reinhard, apparently you are quite right--the development server
on which i performed the initial testing had a much more recent level of
operating system patches than did the deployent system.  in our case, the
sun machines are ldap clients (specifically, of a sun 1 ldap server); it
is from this source that the secondary group information comes.

interestingly, while i was plunking around with this over the weekend i
noticed that by doing a getent group  /var/tmp/groups_all followed by
cp /var/tmp/groups_all /etc/group (ie, putting all of the unix group
information in the local /etc/group file), suddenly samba could see and
honor 2ndry groups as expected.  admittedly, no substitute for a properly
patched o.s., but perhaps a suitable interim workaround for some other
desperate soul down the road.

-joe


 hi,

 some years ago I had a similar problem with Solaris 9 and Samba 3.0.x.
 The reason was some sort of incompatibility between OpenLDAP's libldap
 and Sun's libsldap, can't remember the exact details. Anyway the
 behavior of Solaris 9 in honoring secondary groups was dependent on the
 patch level, and the whole issue was resolved with a patch from Sun.
 Are you sure that both servers are on the same patch level? Check
 /etc/release and the patches for LDAP on both systems, maybe you can
 find a difference that explains this behavior.

 kind regards,
 Reinhard

 Joe Cammisa wrote:
 samba-3.4.8 built under solaris_10 (--with-krb5=/sr/local/lib --with-ads
 --with-ldap); on my test server it runs flawlessly; however on the
 production server, there is a big exception:  users' secondary group
 memberships are not honored.

 
 

 again, same samba version, built against the same libraries in the same
 way with the same config file in both cases.  any one with an idea how i
 might make this work?  many thanks in advance!!

 -joe






-- 

  Joe Cammisa
  Networking  Systems
  College Information Resources
  Haverford College

  phone:  1-610-896-4239
  email:  jcamm...@haverford.edu
-- 
To unsubscribe from this list go to the following URL and read the
instructions:  https://lists.samba.org/mailman/options/samba


[Samba] samba 3.4.8 / solaris / unix secondary groups

2010-08-20 Thread Joe Cammisa

samba-3.4.8 built under solaris_10 (--with-krb5=/usr/local/lib --with-ads
--with-ldap); on my test server it runs flawlessly; however on the
production server, there is a big exception:  users' secondary group
memberships are not honored.

relevant portions of smb.conf (the same on both servers, save for the ip
addys) are as follows:

[global]
workgroup = WORKGROUP
netbios name = BLABLA
server string = SAMBA
bind interfaces only = True
interfaces = bge0 199.99.99.99
deadtime = 20
debug level = 2
security = user
password level = 8
encrypt passwords = yes
socket options = TCP_NODELAY
follow symlinks = yes
wide links = yes
unix extensions = no
[stuff]
comment = stuff...
path = /vol1/stuff
read only = No
create mask = 0777
directory mask = 0777
inherit permissions = Yes
inherit acls = Yes
map acl inherit = Yes
map archive = No
map readonly = permissions

again, same samba version, built against the same libraries in the same
way with the same config file in both cases.  any one with an idea how i
might make this work?  many thanks in advance!!

-joe

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


Re: [Samba] samba 3.4.8 / solaris / unix secondary groups

2010-08-20 Thread Gaiseric Vandal

Are they both using the same backend?  Is the group mapping set up correctly

#net groupmap list

Also you can use samba net command to verify  user's group list, and a 
group's user list.



# net rpc group members some group  -S yourserver -U Administrator
# net rpc user info someuser  -S yourserver -U Administrator


Those commands might indicate if group mapping is not working.


On 08/20/2010 12:40 PM, Joe Cammisa wrote:

samba-3.4.8 built under solaris_10 (--with-krb5=/usr/local/lib --with-ads
--with-ldap); on my test server it runs flawlessly; however on the
production server, there is a big exception:  users' secondary group
memberships are not honored.

relevant portions of smb.conf (the same on both servers, save for the ip
addys) are as follows:

[global]
workgroup = WORKGROUP
netbios name = BLABLA
server string = SAMBA
bind interfaces only = True
interfaces = bge0 199.99.99.99
deadtime = 20
debug level = 2
security = user
password level = 8
encrypt passwords = yes
socket options = TCP_NODELAY
follow symlinks = yes
wide links = yes
unix extensions = no
[stuff]
comment = stuff...
path = /vol1/stuff
read only = No
create mask = 0777
directory mask = 0777
inherit permissions = Yes
inherit acls = Yes
map acl inherit = Yes
map archive = No
map readonly = permissions

again, same samba version, built against the same libraries in the same
way with the same config file in both cases.  any one with an idea how i
might make this work?  many thanks in advance!!

-joe

   


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


[Samba] samba 3.4.8 solaris 10 no windows security tab

2010-07-07 Thread torcs74854
I recently upgraded our samba from version 3.0.13 to 3.4.8.  I also changed 
from security=domain to security=ads with the upgrade.  Doing some testing I've 
found out if a user does not have read access at a minimum on a file or 
directory either by owning the file, through primary or secondary groups or 
other permissions on solaris the windows security tab (right clicking on a file 
or directory and selecting properties) does not even show up.  This happens on 
both Windows XP and Vista. 

Here are my configuration options.

./configure --prefix=/tools/samba/v3.4.8 --with-lockdir=/var/samba/locks 
--with-piddir=/var/samba/locks --with-privatedir=/var/samba/private 
--with-logfilebase=/var/log/samba --with-configdir=/etc/samba 
--with-libiconv=/tools/iconv/v1.12 --with-krb5=/tools/kerberos/v1.6.3 
--with-ads --with-aio-support --with-automount --with-pam 
--with-sendfile-support --with-utmp --with-winbind

Here is my config file.
# Logging
realm = TEST.LAB
workgroup = TEST
security = ADS
password server = test01.test.lab test02.test.lab
encrypt passwords = yes
server string = File Server
log level = 1
syslog only = no
max log size = 50
log file = /var/samba/log/%m.log
domain master = no
socket options = TCP_NODELAY
;client schannel = no
;server schannel = yes
aio read size = 1
aio write size = 1
allow trusted domains = no
[homes]
  comment = Home Directories
  browseable = no
  writable = yes
  veto oplock files = /*.pst/
  create mask = 640
  directory mask = 750

[temp]
comment = Temporary holding area for file restores
path = /data/temp
public = no
writeable =yes
create mask = 660
directory mask = 770
dos filetimes = True
veto oplock files = /*.jar/*.mdb/*.ldb/*.pst/


I'm doing the testing in the temp share.


Here is information from my samba logs.  I was trying to right click on a 
directory called test.  Windows explorer just hung up on me.  I did not even 
get to select properties from the list.

[2010/07/06 20:52:31,  3] smbd/error.c:60(error_packet_set)
  error packet at smbd/nttrans.c(563) cmd=162 (SMBntcreateX) 
NT_STATUS_ACCESS_DENIED
[2010/07/06 20:52:32,  3] smbd/process.c:1459(process_smb)
  Transaction 1079 of length 116 (0 toread)
[2010/07/06 20:52:32,  3] smbd/process.c:1273(switch_message)
  switch message SMBtrans2 (pid 2189) conn 0x92a580
[2010/07/06 20:52:32,  3] smbd/trans2.c:3956(call_trans2qfilepathinfo)
  call_trans2qfilepathinfo: TRANSACT2_QPATHINFO: level = 1004
[2010/07/06 20:52:32,  3] smbd/filename.c:848(get_real_filename_full_scan)
  scan dir didn't open dir [test]
[2010/07/06 20:52:32,  3] smbd/error.c:60(error_packet_set)
  error packet at smbd/trans2.c(3988) cmd=50 (SMBtrans2) NT_STATUS_ACCESS_DENIED
[2010/07/06 20:52:32,  3] smbd/process.c:1459(process_smb)
  Transaction 1080 of length 126 (0 toread)
[2010/07/06 20:52:32,  3] smbd/process.c:1273(switch_message)
  switch message SMBntcreateX (pid 2189) conn 0x92a580
[2010/07/06 20:52:32,  3] smbd/filename.c:848(get_real_filename_full_scan)
  scan dir didn't open dir [test]
[2010/07/06 20:52:32,  3] smbd/error.c:60(error_packet_set)
  error packet at smbd/nttrans.c(563) cmd=162 (SMBntcreateX) 
NT_STATUS_ACCESS_DENIED

I can view the directory permissions through windows with the older version of 
samba (3.0.13).  I'm not sure what I'm missing. 

If this is the way samba works now what version was the change made?

Thanks

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


Re: [Samba] Samba 3.0.23d - Solaris 10

2010-07-01 Thread Gaiseric Vandal
Solaris 10 comes with Samba 3.0.x (I think 3.0.35 is the most recent) so no
need to compile it yourself.It includes backported support for zfs
acl's.I  have compiled Samab 3.4.x on solaris because I needed better
support for domain trusts with Windows 2003 mode domains.


-Original Message-
From: samba-boun...@lists.samba.org [mailto:samba-boun...@lists.samba.org]
On Behalf Of Fair, Barbara
Sent: Wednesday, June 30, 2010 9:22 AM
To: sa...@samba.org
Cc: Fair, Barbara; Bonasera, John
Subject: [Samba] Samba 3.0.23d - Solaris 10

Good Morning

I have not been able to find the binary file(s) for Solaris.  I have
downloaded the tarball for 3.0.23d, but when I go to run the make all
command I get the following error:

  make: Fatal error: Command failed for target 'dynconfig.o'

I have not been able to find a workaround for it.  Do you have any
suggestions?
I am running this on a Solaris 10 (release 11/06) box.

Thanks
Barb Fair
Lockheed Martin
Valley Forge, PA
610-531-5442


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

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


[Samba] Samba 3.0.23d - Solaris 10

2010-06-30 Thread Fair, Barbara
Good Morning

I have not been able to find the binary file(s) for Solaris.  I have downloaded 
the tarball for 3.0.23d, but when I go to run the make all command I get the 
following error:

  make: Fatal error: Command failed for target 'dynconfig.o'

I have not been able to find a workaround for it.  Do you have any suggestions?
I am running this on a Solaris 10 (release 11/06) box.

Thanks
Barb Fair
Lockheed Martin
Valley Forge, PA
610-531-5442


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


[Samba] Samba on Solaris 8

2010-04-20 Thread David McWilliams
So I decided to dump Samba 2.2.0 on Solaris 8 due to the problems I had
getting it to connect to Vista, so I installed Samba 3.4.2 as downloaded
from Sunfreeware.com, with prereqs;

 krb5-1.7-sol8-sparc-local
 openssl-1.0.0-sol8-sparc-local
 libgcc-3.4.6-sol8-sparc-local
 popt-1.14-sol8-sparc-local
 libiconv-1.13.1-sol8-sparc-local
 readline-5.2-sol8-sparc-local
 libintl-3.4.0-sol8-sparc-local
 samba-3.4.2-sol8-sparc-local
 ncurses-5.6-sol8-sparc-local
 sasl-2.1.21-sol8-sparc-local
 openldap-2.4.16-sol8-sparc-local
 zlib-1.2.4-sol8-sparc-local

As far as I can tell, everything installed without issue.

When I try and start Samba using;

 /usr/local/samba/sbin/smbd -D -d 0 -l /var/tmp/samba.out
 /usr/local/samba/sbin/nmbd -D -d 0 -l /var/tmp/samba.out

I get the following error;

 ld.so.1: /usr/local/samba/sbin/smbd: fatal: libtalloc.so: open failed:
No such file or directory
 Killed

libtalloc.so exists in /usr/local/samba/lib. I tried including
/usr/local/samba/lib in both $LIBPATH  $LD_LIBRARY_PATH

Any ideas anyone?

Sláinte,

David

Build a man a fire he'll be warm for a day, set a man on fire and he'll be
warm for the rest of his life - Terry Pratchett

Checkout my photos - http://www.panoramio.com/user/1113507
-- 
To unsubscribe from this list go to the following URL and read the
instructions:  https://lists.samba.org/mailman/options/samba


Re: [Samba] Samba on Solaris 8

2010-04-20 Thread David McWilliams
Done the following;

  crle -l /usr/lib:/usr/local/lib:/usr/local/samba/lib

Now I don't get the errors, but still nmbd  smbd do not start. Any clues,
anyone?

Sláinte,

David

Build a man a fire he'll be warm for a day, set a man on fire and he'll be
warm for the rest of his life - Terry Pratchett

Checkout my photos - http://www.panoramio.com/user/1113507


On Tue, Apr 20, 2010 at 10:15 AM, David McWilliams davidk...@gmail.comwrote:

 So I decided to dump Samba 2.2.0 on Solaris 8 due to the problems I had
 getting it to connect to Vista, so I installed Samba 3.4.2 as downloaded
 from Sunfreeware.com, with prereqs;

  krb5-1.7-sol8-sparc-local
  openssl-1.0.0-sol8-sparc-local
  libgcc-3.4.6-sol8-sparc-local
  popt-1.14-sol8-sparc-local
  libiconv-1.13.1-sol8-sparc-local
  readline-5.2-sol8-sparc-local
  libintl-3.4.0-sol8-sparc-local
  samba-3.4.2-sol8-sparc-local
  ncurses-5.6-sol8-sparc-local
  sasl-2.1.21-sol8-sparc-local
  openldap-2.4.16-sol8-sparc-local
  zlib-1.2.4-sol8-sparc-local

 As far as I can tell, everything installed without issue.

 When I try and start Samba using;

  /usr/local/samba/sbin/smbd -D -d 0 -l /var/tmp/samba.out
  /usr/local/samba/sbin/nmbd -D -d 0 -l /var/tmp/samba.out

 I get the following error;

  ld.so.1: /usr/local/samba/sbin/smbd: fatal: libtalloc.so: open failed:
 No such file or directory
  Killed

 libtalloc.so exists in /usr/local/samba/lib. I tried including
 /usr/local/samba/lib in both $LIBPATH  $LD_LIBRARY_PATH

 Any ideas anyone?

 Sláinte,

 David

 Build a man a fire he'll be warm for a day, set a man on fire and he'll be
 warm for the rest of his life - Terry Pratchett

 Checkout my photos - http://www.panoramio.com/user/1113507

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


Re: [Samba] Samba on Solaris 8

2010-04-20 Thread David McWilliams
Resolved

Sláinte,

David

Build a man a fire he'll be warm for a day, set a man on fire and he'll be
warm for the rest of his life - Terry Pratchett

Checkout my photos - http://www.panoramio.com/user/1113507


On Tue, Apr 20, 2010 at 11:25 AM, David McWilliams davidk...@gmail.comwrote:

 Done the following;

   crle -l /usr/lib:/usr/local/lib:/usr/local/samba/lib

 Now I don't get the errors, but still nmbd  smbd do not start. Any clues,
 anyone?


 Sláinte,

 David

 Build a man a fire he'll be warm for a day, set a man on fire and he'll be
 warm for the rest of his life - Terry Pratchett

 Checkout my photos - http://www.panoramio.com/user/1113507


   On Tue, Apr 20, 2010 at 10:15 AM, David McWilliams 
 davidk...@gmail.comwrote:

 So I decided to dump Samba 2.2.0 on Solaris 8 due to the problems I had
 getting it to connect to Vista, so I installed Samba 3.4.2 as downloaded
 from Sunfreeware.com, with prereqs;

  krb5-1.7-sol8-sparc-local
  openssl-1.0.0-sol8-sparc-local
  libgcc-3.4.6-sol8-sparc-local
  popt-1.14-sol8-sparc-local
  libiconv-1.13.1-sol8-sparc-local
  readline-5.2-sol8-sparc-local
  libintl-3.4.0-sol8-sparc-local
  samba-3.4.2-sol8-sparc-local
  ncurses-5.6-sol8-sparc-local
  sasl-2.1.21-sol8-sparc-local
  openldap-2.4.16-sol8-sparc-local
  zlib-1.2.4-sol8-sparc-local

 As far as I can tell, everything installed without issue.

 When I try and start Samba using;

  /usr/local/samba/sbin/smbd -D -d 0 -l /var/tmp/samba.out
  /usr/local/samba/sbin/nmbd -D -d 0 -l /var/tmp/samba.out

 I get the following error;

  ld.so.1: /usr/local/samba/sbin/smbd: fatal: libtalloc.so: open
 failed: No such file or directory
  Killed

 libtalloc.so exists in /usr/local/samba/lib. I tried including
 /usr/local/samba/lib in both $LIBPATH  $LD_LIBRARY_PATH

 Any ideas anyone?

 Sláinte,

 David

 Build a man a fire he'll be warm for a day, set a man on fire and he'll
 be warm for the rest of his life - Terry Pratchett

 Checkout my photos - http://www.panoramio.com/user/1113507



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


[Samba] Samba on Solaris 10 , cannot read socket option

2009-08-09 Thread Mike Hang


-- 
View this message in context: 
http://www.nabble.com/Samba-on-Solaris-10-%2C-cannot-read-socket-option-tp24819984p24819984.html
Sent from the Samba - General mailing list archive at Nabble.com.

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


[Samba] Samba on Solaris 10 , cannot read socket option

2009-08-09 Thread Mike Hang

Any expert samba , I have problem to setup configuration files

Samba 3.0.24 on solaris 10 not recognize socket option 

socket options = socket options = TCP_NODELAY SO_KEEPALIVE IPTOS_LOWDELAY
SO_RCVBUF=32768 SO_SNDBUF=32768

my error log 

[2009/08/05 10:55:51, 0] lib/util_sock.c:set_socket_options(261)
  Failed to set socket option SO_KEEPALIVE (Error Invalid argument)
[2009/08/05 10:55:51, 0] lib/util_sock.c:set_socket_options(261)
  Failed to set socket option IPTOS_LOWDELAY (Error Invalid argument)
[2009/08/05 10:55:51, 0] lib/util_sock.c:set_socket_options(261)
  Failed to set socket option SO_RCVBUF (Error Invalid argument)
[2009/08/05 10:55:51, 0] lib/util_sock.c:set_socket_options(261)
  Failed to set socket option SO_SNDBUF (Error Invalid argument)
[2009/08/05 10:55:51, 0] lib/util_sock.c:get_peer_addr(1229)
  getpeername failed. Error was Transport endpoint is not connected
-- 
View this message in context: 
http://www.nabble.com/Samba-on-Solaris-10-%2C-cannot-read-socket-option-tp24820033p24820033.html
Sent from the Samba - General mailing list archive at Nabble.com.

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


[Samba] samba on solaris losing trust to domain

2009-07-01 Thread Walt Park
Greetings,

I've been having problems lately with samba on Solaris 9
losing the trust with the domain. It seems to be occuring
daily lately. If I net rpc join it joins and works for a while,
and then stops working again. The /usr/local/samba/private/secrets.tdb
does not seem to change when it loses the trust, until it is rejoined,
which is what I would expect.

I am using a default configuration when building the software
with the Sun Studio compilers on samba 3.3.4.  I also had
this on an older build with 3.0.30 also with default configure.

Has anyone else seen this type of behavior or know what
is happening?
-- 
To unsubscribe from this list go to the following URL and read the
instructions:  https://lists.samba.org/mailman/options/samba


[Samba] samba 3.0.33, solaris and vfs problem and solution

2009-03-16 Thread rhubbell
Just to save some other poor soul from having to get around a
packaging issue on Solaris 5.10.

I just installed 3.0.33 and the package put all the vfs libs into
/usr/sfw/lib instead of in the right place /usr/sfw/lib/vfs.

I fixed by 
cd /usr/sfw/lib/vfs
ln -s /usr/sfw/lib/audit.so.0 audit.so

Repeat for each .so. This may not be the preferred work-around
but it works. 
-- 
To unsubscribe from this list go to the following URL and read the
instructions:  https://lists.samba.org/mailman/options/samba


Re: [Samba] samba-3.2.4 Solaris 9: configure gets error: Active Directory support requires ldap_initialize

2008-10-02 Thread John Center

Thanks, Volker.  This works for me.

I have a related configure question.  If you set --with-krb5=dir, 
shouldn't configure add a -Rdir so that it finds the run-time version 
of the library?  It appears to only do a -Ldir, so some of the 
configure tests fail.


Thanks.

-John


Volker Lendecke wrote:

On Wed, Oct 01, 2008 at 06:28:42PM -0400, John Center wrote:

I had the same problem.  I fixed one line in configure:

if test x$debug = xyes ; then
CFLAGS=${CFLAGS} -g
else
CFLAGS=-O
fi

The second if statement was clearing my CFLAGS setting, replacing it 
with just -O.  I changed the line from CFLAGS=-O to 
CFLAGS=${CFLAGS} -O.  This kept my settings.  I don't know if this is 
the correct fix, but it worked for me.


Pushed the attached patch which should also solve it,
configure is made from configure.in.

Volker


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


[Samba] samba-3.2.4 Solaris 9: configure gets error: Active Directory support requires ldap_initialize

2008-10-01 Thread Wayne Rasmussen
Unable to compile samba-3.2.4 on Solaris 9 for sparc.

 

#building openldap
CC=gcc
#echo $CC
#exit
CPPFLAGS=-I/usr/local/include -I/usr/local/ssl/include
-I/usr/local/BerkeleyDB.4.2/include -I/usr/local/include/sasl
LDFLAGS=-L/usr/local/lib -L/usr/local/ssl/lib
-L/usr/local/BerkeleyDB.4.2/lib
export CC CPPFLAGS LDFLAGS
#
CFLAGS='-D_AVL_H'
export CFLAGS
#


./configure --enable-bdb

make depend
make install
#end building openldap

#build samba
make clean
./configure --with-ldap --with-acl-support --with-ads --with-pam
--with-winbind --with-krb5=/usr/local

#make   
#make install
#end build samba

The samba script, configure, seems to be failing with the following:




checking for LDAP support... yes
checking ldap.h usability... yes
checking ldap.h presence... yes
checking for ldap.h... yes
checking lber.h usability... yes
checking lber.h presence... yes
checking for lber.h... yes
checking for ber_tag_t... yes
checking for ber_scanf in -llber... yes
checking for ber_sockbuf_add_io... yes
checking for LDAP_OPT_SOCKBUF... yes
checking for LBER_OPT_LOG_PRINT_FN... yes
checking for ldap_init in -lldap... yes
checking for ldap_set_rebind_proc... yes
checking whether ldap_set_rebind_proc takes 3 arguments... 3
checking for ldap_initialize... no
checking whether LDAP support is used... yes
checking for Active Directory and krb5 support... yes
checking for ldap_initialize... (cached) no
configure: error: Active Directory support requires ldap_initialize
 

 

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


Re: [Samba] samba-3.2.4 Solaris 9: configure gets error: Active Directory support requires ldap_initialize

2008-10-01 Thread John Center

Hi Wayne,

I had the same problem.  I fixed one line in configure:

if test x$debug = xyes ; then
CFLAGS=${CFLAGS} -g
else
CFLAGS=-O
fi

The second if statement was clearing my CFLAGS setting, replacing it 
with just -O.  I changed the line from CFLAGS=-O to 
CFLAGS=${CFLAGS} -O.  This kept my settings.  I don't know if this is 
the correct fix, but it worked for me.


HTH

-John


Wayne Rasmussen wrote:

Unable to compile samba-3.2.4 on Solaris 9 for sparc.



#building openldap
CC=gcc
#echo $CC
#exit
CPPFLAGS=-I/usr/local/include -I/usr/local/ssl/include
-I/usr/local/BerkeleyDB.4.2/include -I/usr/local/include/sasl
LDFLAGS=-L/usr/local/lib -L/usr/local/ssl/lib
-L/usr/local/BerkeleyDB.4.2/lib
export CC CPPFLAGS LDFLAGS
#
CFLAGS='-D_AVL_H'
export CFLAGS
#


./configure --enable-bdb

make depend
make install
#end building openldap

#build samba
make clean
./configure --with-ldap --with-acl-support --with-ads --with-pam
--with-winbind --with-krb5=/usr/local

#make
#make install
#end build samba

The samba script, configure, seems to be failing with the following:




checking for LDAP support... yes
checking ldap.h usability... yes
checking ldap.h presence... yes
checking for ldap.h... yes
checking lber.h usability... yes
checking lber.h presence... yes
checking for lber.h... yes
checking for ber_tag_t... yes
checking for ber_scanf in -llber... yes
checking for ber_sockbuf_add_io... yes
checking for LDAP_OPT_SOCKBUF... yes
checking for LBER_OPT_LOG_PRINT_FN... yes
checking for ldap_init in -lldap... yes
checking for ldap_set_rebind_proc... yes
checking whether ldap_set_rebind_proc takes 3 arguments... 3
checking for ldap_initialize... no
checking whether LDAP support is used... yes
checking for Active Directory and krb5 support... yes
checking for ldap_initialize... (cached) no
configure: error: Active Directory support requires ldap_initialize




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

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


Re: [Samba] samba-3.2.4 Solaris 9: configure gets error: Active Directory support requires ldap_initialize

2008-10-01 Thread Volker Lendecke
On Wed, Oct 01, 2008 at 06:28:42PM -0400, John Center wrote:
 I had the same problem.  I fixed one line in configure:
 
 if test x$debug = xyes ; then
 CFLAGS=${CFLAGS} -g
 else
 CFLAGS=-O
 fi
 
 The second if statement was clearing my CFLAGS setting, replacing it 
 with just -O.  I changed the line from CFLAGS=-O to 
 CFLAGS=${CFLAGS} -O.  This kept my settings.  I don't know if this is 
 the correct fix, but it worked for me.

Pushed the attached patch which should also solve it,
configure is made from configure.in.

Volker
From 73f9e17e6457be8dfb6c1132cc6ca43ef65c677c Mon Sep 17 00:00:00 2001
From: Volker Lendecke [EMAIL PROTECTED]
Date: Thu, 2 Oct 2008 02:17:04 +0200
Subject: [PATCH] Fix bug 5798: CFLAGS info lost in configure

Michael, please check and merge to the other branches if it's right.

Thanks,

Volker
---
 source3/configure.in |2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/source3/configure.in b/source3/configure.in
index f04ddbe..545a565 100644
--- a/source3/configure.in
+++ b/source3/configure.in
@@ -128,7 +128,7 @@ fi
 if test x$debug = xyes ; then
 	CFLAGS=${CFLAGS} -g
 else
-	CFLAGS=-O
+	CFLAGS=${CFLAGS} -O
 fi
 
 m4_include(../lib/socket_wrapper/config.m4)
-- 
1.5.5



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

[Samba] Samba 3.0.10, Solaris 8 - Fails Retina 5 for access rules

2007-08-30 Thread Ev
eEye Retina 5 required by our security to check our workstation 
security complains no MIN PASSWORD, AGE, and a dozen others related to 
access rules against my only two Samba (3.0.10) servers on Solaris 8 
fail security scans.

Running strings on smbd binary, I find most of the parameter strings.  
None of my found to date samba.conf man pages provide info on setting 
those parameters in the samba.conf files.

Any help appreciated.  


-- 
Ev 


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


Re: [Samba] Samba on Solaris 8

2007-05-28 Thread James Lockie

George Sadathian wrote:

Good Morning,

I would like to run a question by your technical support team.
  
There is no free dedicated support team, volunteers answer what they 
feel like answering.



My employer is currently using Samba server (Samba 2.0.5a)
  

I think you have to upgrade to 3 but I'm not sure.
The best thing is to read the Samba manual.

 Solaris 8 sun4u sparc SUNW,Ultra-4.

Samba is configured to communicate through port 139.

However we have been asked to change Samba configuration in order to 


change the communication from port 139 to 445.

This configuration change is requested to improve network security.

I am not entirely sure what porcess/es or steps needed for this
alteration.

I would like to know if  there is any procedure or recommendation so I
would be able to

Implement this change.

In advance, I would like to thank you for all your assistance.

 


Regards,

George Sadathian

 

  

http://docs.hp.com/en/B8725-90118/ch02s06.html

NetBIOS Names Are Not Supported on Port 445

HP CIFS Server A.02.* versions (based and Samba 3.0.x) can accept 
connections on port 445 as well as the original port 139. However, since 
port 445 connections are for SMB over TCP and do not support the NetBIOS 
protocol. NetBIOS names are not supported on port 445. This means 
features of Samba that depend on NetBIOS will not work. For example, the 
virtual server technique depending on an include = 
/etc/opt/samba/smb.conf.%L which ends up referring to another 
smb.conf.netbios name will not work.


You can use the smb.conf parametersmb ports to specify which ports the 
server should listen on for SMB traffic. Set smb ports to 139 to disable 
port 445. By default, smb ports is set to 445 139.

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


[Samba] Samba on Solaris 8

2007-05-25 Thread George Sadathian
Good Morning,

I would like to run a question by your technical support team.

My employer is currently using Samba server (Samba 2.0.5a)

 Solaris 8 sun4u sparc SUNW,Ultra-4.

Samba is configured to communicate through port 139.

However we have been asked to change Samba configuration in order to 

change the communication from port 139 to 445.

This configuration change is requested to improve network security.

I am not entirely sure what porcess/es or steps needed for this
alteration.

I would like to know if  there is any procedure or recommendation so I
would be able to

Implement this change.

In advance, I would like to thank you for all your assistance.

 

Regards,

George Sadathian

 

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


RE: [Samba] Samba-3.0.25 Solaris 8, smbd

2007-05-21 Thread Wayne Rasmussen
Sorry about that. The issue is that smbd doesn't run.

-Original Message-
From: Wayne Rasmussen [mailto:[EMAIL PROTECTED] 
Sent: Sunday, May 20, 2007 11:41 AM
To: samba@lists.samba.org
Subject: [Samba] Samba-3.0.25 Solaris 8, smbd 

Built using:
./configure
make
make install

Exit status when running
/usr/local/samba/sbin/smbd -d10 -D
is 0.


# Samba config file created using SWAT
# from 10.10.10.5 (10.10.10.5)
# Date: 2006/06/28 10:47:07

# Global parameters
[global]
workgroup = MONARCHW
server string = Ultra 60
guest account = none
username map = /usr/local/samba/lib/users.map
log level = 10
log file = /usr/local/samba/var/log.%m
max log size = 50
dns proxy = No
ldap ssl = no
nt acl support = No
-- 
To unsubscribe from this list go to the following URL and read the
instructions:  https://lists.samba.org/mailman/listinfo/samba

[Samba] Samba-3.0.25 Solaris 8, smbd

2007-05-20 Thread Wayne Rasmussen
Built using:
./configure
make
make install

Exit status when running
/usr/local/samba/sbin/smbd -d10 -D
is 0.


# Samba config file created using SWAT
# from 10.10.10.5 (10.10.10.5)
# Date: 2006/06/28 10:47:07

# Global parameters
[global]
workgroup = MONARCHW
server string = Ultra 60
guest account = none
username map = /usr/local/samba/lib/users.map
log level = 10
log file = /usr/local/samba/var/log.%m
max log size = 50
dns proxy = No
ldap ssl = no
nt acl support = No
-- 
To unsubscribe from this list go to the following URL and read the
instructions:  https://lists.samba.org/mailman/listinfo/samba

[Samba] Samba on Solaris 9

2007-05-07 Thread john hanson
Dear all 

Im using samba which comes with Solaris 9 , i want to
share unix directory with windows , samba and windows
2003 PDC are on different network , 

[EMAIL PROTECTED] # /usr/sfw/sbin/smbd -V
Version 2.2.12

here are the steps i follow:

-created computer account for solaris box in Windows
domain

- because there is no wins/dns server . i put windows
PDC hostname and IP in /etc/hosts and i can ping the
Windows PDC 

- and created the following smb.conf 

# Samba config file created using SWAT
# from 192.168.1.71 (192.168.1.71)
# Date: 2007/05/07 16:29:48

# Global parameters
[global]
workgroup = Domain925
netbios name = server
security = DOMAIN
encrypt passwords = Yes
password server = MYPDC
log level = 1
name resolve order = host bcast lmhosts wins
hosts allow = localhost, server, 192.168.1.
hosts deny = All

[share]
comment = Solaris share
path = /share
read only = No
guest ok = Yes

im unable to jion domain and also i try using using 

nmblookup -d4 MYPDC . and it also fails 

what i am missing please advice , how i can make it
work when they are different network , i successfully
tested when both PDC /samba are on same network

Regards 

JH 


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


[Samba] Samba on Solaris filing

2007-04-18 Thread Shane Henry
G'day all,

I've been getting some strange things happening with my samba setup. At
the moment we've got a SAMBA/LDAP setup to provide single sign/roaming
profiles for our Windows machines. We've got 1 PDC  3 BDC's all running
Solaris 10 on Sun-Fire-V440's.

The problem is that the system seems to run fine for about a day or two
(users login/logout, etc), but then for no apparent reason users can't
log in.

If I run 'smbclient -L RAVEN' on the PDC, I get the following error:
session request to RAVEN failed (Call timed out: server did not respond
after 2 milliseconds)
session request to *SMBSERVER failed (Call timed out: server did not
respond after 2 milliseconds)

Having run the same command the night before, it all worked fine.

I can restart the SAMBA daemons (and the LDAP daemons), but nothing
seems to fix it. The only fix that seems to work is to reboot the
server. Once the system is rebooted, it all seems to work fine for a day
or two, then it just stops working again.

I've looked through the logs and can't seem to find anything that
indicates the problem. I've also searched the net for answers, but as of
yet, I've found no answer but to reboot the servers.

At the moment we're running samba 3.0.23b on Solaris 10.

Any suggestions about where to go from here would be greatly
appreciated.

Thanks in advance,
Shane


smb.conf:
# Global parameters
[global]
workgroup = SCADA
netbios name = RAVEN
server string = Samba Server %v
interfaces = 159.73.160.13/255.255.255.0
159.73.161.13/255.255.255.0 lo0
bind interfaces only = Yes
hosts allow = 159.73.160.0/255.255.255.0
159.73.161.0/255.255.255.0 127.0.0.1
passdb backend = ldapsam:ldap://127.0.0.1/
enable privileges = Yes
username map = /etc/samba/smbusers
security = user
log level = 3
log file = /var/log/samba/samba.log
max log size = 0
encrypt passwords = Yes
unix password sync = Yes
# smbldap-passwdNT is a hacked script to make it work for us
passwd program = /usr/local/sbin/smbldap-passwdNT %u
passwd chat = Changing UNIX and samba passwords for*\nNew
password* %n\n *Retype new password* %n\n *Password*changed*
passwd chat timeout = 10
passwd chat debug = No
smb ports = 139
name resolve order = wins bcast hosts
time server = Yes
socket options = TCP_NODELAY SO_RCVBUF=8192 SO_SNDBUF=8192
preserve case = yes
short preserve case = yes
case sensitive = no

add user script = /usr/local/sbin/smbldap-useradd -m %u
delete user script = /usr/local/sbin/smbldap-userdel %u
add group script = /usr/local/sbin/smbldap-groupadd %g 
delete group script = /usr/local/sbin/smbldap-groupdel %g
add user to group script = /usr/local/sbin/smbldap-groupmod -m
%u %g
delete user from group script = /usr/local/sbin/smbldap-groupmod
-x %u %g
set primary group script = /usr/local/sbin/smbldap-usermod -g
%g %u
add machine script = /usr/local/sbin/smbldap-useradd -w %u

logon script = logon.bat
logon path = \\%L\profiles\%U
logon drive = H:
logon home = \\%L\%U

domain logons = Yes
domain master = Yes
wins support = yes
preferred master = Yes
os level = 99

ldap suffix = dc=scada,dc=ie,dc=com,dc=au
ldap machine suffix = ou=People
ldap user suffix = ou=People
ldap group suffix = ou=Group
ldap idmap suffix = ou=Idmap
ldap admin dn = cn=Manager,dc=scada,dc=ie,dc=com,dc=au
map acl inherit = Yes
ldap ssl = no
ldap passwd sync = Yes

idmap backend = ldap:ldap://127.0.0.1
idmap uid = 15000-2
idmap gid = 15000-2


[netlogon]
comment = Network Logon Service
path = /export/home/samba/netlogon/
guest ok = Yes
locking = No

[profiles]
comment = Profile Share
path = /export/home/samba/profiles/
read only = No
profile acls = Yes

[doc]
path = /export/home/samba/doc/
read only = yes
create mask = 0750
guest ok = no
write list = @ie

[homes]
comment = Home Directories
valid users = %U
read only = no
create mask = 0644
directory mask = 0775
browseable = No



**
Please consider our environment before printing this email.

NOTICE - This communication contains information which is confidential and the 
copyright of Integral Energy Australia or a third party.

If you are not the intended recipient of this communication please delete and 
destroy all copies and telephone Integral Energy on 131081 immediately. If you 
are the intended recipient of this communication you should not copy, disclose  
or distribute this communication

[Samba] samba on solaris

2007-02-03 Thread donkarnash

Hi I have installed Solari 9 on SunFire e450 box and installed latest Solaris
patches. Then I have downloaded samba-latest.tar.gz and along with it the
following packages

gcc-3.4.6-sol9-sparc-local.gz
samba-latest.tar.gz
libiconv-1.11.tar.gz

Then
# gunzip gcc-3.4.6-sol9-sparc-local.gz
# gunzip samba-latest.tar.gz
# gunzip libiconv-1.11.tar.gz

pkgadd -d gcc-3.4.6-sol9-sparc-local
pkgadd -d libiconv-1.11

then cd /u02/stage

# ls -ltr
gcc-3.4.6-sol9-sparc-local
libiconv-1.11
samba-3.0.23d

# which gcc
/usr/local/bin/gcc
# tar –xvf samba-latest.tar
# samba-3.0.23d
# cd samba-3.0.23d/source
#./configure
SAMBA VERSION: 3.0.23d
checking for -fPIE...
checking for gcc... gcc
checking for C compiler default output file name... configure: error: C
compiler cannot create executables
See `config.log' for more details.
# pkginfo SMCgcc
application SMCgcc gcc

# cd libiconv-1.11
# ./configure
checking for a BSD-compatible install... build-aux/install-sh -c
checking whether build environment is sane... yes
checking for gawk... no
checking for mawk... no
checking for nawk... nawk
checking whether make sets $(MAKE)... no
checking whether make sets $(MAKE)... (cached) no
checking for gcc... gcc
checking for C compiler default output file name... configure: error: C
compiler cannot create executables
See `config.log' for more details.

I am stuck here. Could anyone please advise what I need to do to get
libiconv, gcc  damba installed. Thanks in advance
-- 
View this message in context: 
http://www.nabble.com/samba-on-solaris-tf3051867.html#a8483669
Sent from the Samba - General mailing list archive at Nabble.com.

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


[Samba] Samba 3 Solaris 9 and charset cp850

2006-12-03 Thread Lionel Renouf

Hello,
After a migration from Samba 3.0.2a to Samba 3.0.21b on a Sun server Solaris
9, we have problems with charset cp850 conversion not supported.
tesparm -v :
...
init_iconv: Conversion from cp850 to UTF8 not supported
...
 
In the smb.conf we have :
unix charset = cp850
dos charset = cp850
 
If we change these parameters or if we use their default value, the name
of files or directories we see on a Windows client ar inconsistent because
they were created with Samba 3.0.2a and cp850 charset.
 
Is there an issue to work with Samba 3.0.21b and cp850 charset ?
 
The Samba 3.0.2a was get from sunfreeware.com
Tha Samba 3.0.21b was get from sunsolve.sun.com (patch 114684-07).

Thank-you.
Regard.
Lionel RENOUF



 


This message contains information that may be privileged or confidential and is 
the property of the Capgemini Group. It is intended only for the person to whom 
it is addressed. If you are not the intended recipient,  you are not authorized 
to read, print, retain, copy, disseminate,  distribute, or use this message or 
any part thereof. If you receive this  message in error, please notify the 
sender immediately and delete all  copies of this message.
-- 
To unsubscribe from this list go to the following URL and read the
instructions:  https://lists.samba.org/mailman/listinfo/samba


Re: [Samba] Samba 3.0.10 / Solaris 8 / Windows 2003

2006-11-07 Thread Henrik Zagerholm

What OS are you using?
Usually all package handlers have krb5 in their repos.

Just do a apt-get install libldap2-dev libkrb5-dev acl libacl1-dev on  
debian.


Here is a good link - http://www.enterprisenetworkingplanet.com/ 
netos/article.php/3487081


Cheers,

7 nov 2006 kl. 01:15 skrev Brad Isbell:


Any reason why you don't use security=ads and kerberos so that you
get single sign on for shares with your AD users?
This way they don't need to supply user/pass to samba shares as samba
kan handles the kerberos tickets issued when they logged on to the
win box.

The packages I downloaded from sunfreeware.com were compiled with  
the configure option

--with-ads=no

I tried downloading the source code and compiling myself, but when  
I run configure it complains about the lack of a krb5.h file.


-
checking for kerberos 5 install path... no krb5-path given
checking for krb5-config... no
checking for working krb5-config... no. Fallback to previous krb5  
detection strategy

checking for /usr/include/heimdal... no
checking for /usr/kerberos... no
checking krb5.h usability... no
checking krb5.h presence... no
checking for krb5.h... no
configure: error: Active Directory cannot be supported without krb5.h


I don't know a whole lot about Kerberos.  I see a few krb5 files   
(mech_krb5.so, pam_krb5.so and krb5_asn.h) on the system, but no  
krb5.h.  I also don't do a lot of my own compiles, so in the  
interest of time I decided to try working with the Samba package I  
have- because at least I was able to get it installed.




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


[Samba] Samba 3.0.10 / Solaris 8 / Windows 2003

2006-11-06 Thread Brad Isbell

Any help would be very much appreciated.

My Configuration-
Solaris 8 - hostname = vail
Samba 3.0.10 (downloaded from sunfreeware.com)
As per the instructions on sunfreeware, I have also installed the 
following packages-

libgcc-3.3
libiconv-1.9.2
libintl-3.4.0
ncurses-5.4
popt 1.7
readline 5.1

Also on my network-
A Windows 2003 ES domain controller: hostname = SEEDS1  domain = SEEDS
A Windows 2003 ES system: hostname = SEEDS2 member of domain SEEDS

Objective:
All I want is for my users on the windows hosts to be able to access 
shared resources from the samba server.  I want all authentication to go 
through the DC, I do not want to have to maintain a local smbpasswd file.


Problem:
When I put a directory search path of \\vail\Samba into the Windows 
system it prompts for a username and password.  When I put in the 
username and password of a domain account I do not get access to the 
share.  I can log into a windows system with the domain information, so 
I know it's not a problem with the domain configuration.



smb configuration from log.smbd:
 Processing section [global]
 doing parameter workgroup = SEEDS
 doing parameter server string = Samba Server
 doing parameter security = domain
 doing parameter encrypt passwords = yes
 doing parameter load printers = yes
 doing parameter log file = /usr/local/samba/var/log.%m
 doing parameter max log size = 50
 doing parameter socket options = TCP_NODELAY
 doing parameter dns proxy = no
[2006/11/06 14:26:12, 2] param/loadparm.c:do_section(3412)
 Processing section [homes]
 doing parameter comment = Home Directories
 doing parameter browseable = no
 doing parameter writable = yes
[2006/11/06 14:26:12, 2] param/loadparm.c:do_section(3412)
 Processing section [SAMBA]
 doing parameter comment = Samba Packages
 doing parameter path = /export/Samba
 doing parameter public = yes
 doing parameter writeable = no
[2006/11/06 14:26:12, 2] param/loadparm.c:do_section(3412)
 Processing section [printers]
 doing parameter comment = All Printers
 doing parameter path = /usr/spool/samba
 doing parameter browseable = no
 doing parameter guest ok = no
 doing parameter writable = no
 doing parameter printable = yes


Tests on Samba server.
These tests show that the Samba server does have access to the domain.

Test 1 : use wbinfo to authenticate user account  - SUCCESS
# wbinfo -a bisbell%PASSWORD
plaintext password authentication failed
error code was NT_STATUS_NO_SUCH_USER (0xc064)
error messsage was: No such user
Could not authenticate user bisbell%PASSWORD with plaintext password
challenge/response password authentication succeeded

Test 2:  Use wbinfo to show that domain info is accessable - SUCCESS
# wbinfo -u
SEEDS\Administrator
SEEDS\bisbell
SEEDS\cowens
SEEDS\Guest
SEEDS\krbtgt

# wbinfo -g
BUILTIN\System Operators
BUILTIN\Replicators
BUILTIN\Guests
BUILTIN\Power Users
BUILTIN\Print Operators
BUILTIN\Administrators
BUILTIN\Account Operators
BUILTIN\Backup Operators
BUILTIN\Users
SEEDS\Domain Admins
SEEDS\Domain Users
SEEDS\Domain Guests
SEEDS\Domain Computers
SEEDS\Domain Controllers
SEEDS\Schema Admins
SEEDS\Enterprise Admins
SEEDS\Group Policy Creator Owners
SEEDS\DnsUpdateProxy


Possible Related Problems-

The smbclient command does not work.
# smbclient -U bisbell //vail/Samba
Password:

session setup failed: NT_STATUS_LOGON_FAILURE


smbtree produces no output
# smbtree
password:

#


Any ideas on what I'm doing wrong?

Thanks,
  Brad




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


Re: [Samba] Samba 3.0.10 / Solaris 8 / Windows 2003

2006-11-06 Thread Brad Isbell

Any reason why you don't use security=ads and kerberos so that you
get single sign on for shares with your AD users?
This way they don't need to supply user/pass to samba shares as samba
kan handles the kerberos tickets issued when they logged on to the
win box.

The packages I downloaded from sunfreeware.com were compiled with the 
configure option

--with-ads=no

I tried downloading the source code and compiling myself, but when I run 
configure it complains about the lack of a krb5.h file.


-
checking for kerberos 5 install path... no krb5-path given
checking for krb5-config... no
checking for working krb5-config... no. Fallback to previous krb5 
detection strategy

checking for /usr/include/heimdal... no
checking for /usr/kerberos... no
checking krb5.h usability... no
checking krb5.h presence... no
checking for krb5.h... no
configure: error: Active Directory cannot be supported without krb5.h


I don't know a whole lot about Kerberos.  I see a few krb5 files  
(mech_krb5.so, pam_krb5.so and krb5_asn.h) on the system, but no krb5.h. 
 I also don't do a lot of my own compiles, so in the interest of time I 
decided to try working with the Samba package I have- because at least I 
was able to get it installed.


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


Re: [Samba] Samba 3.0.10 / Solaris 8 / Windows 2003

2006-11-06 Thread Henrik Zagerholm
Any reason why you don't use security=ads and kerberos so that you  
get single sign on for shares with your AD users?
This way they don't need to supply user/pass to samba shares as samba  
kan handles the kerberos tickets issued when they logged on to the  
win box.


cheers
6 nov 2006 kl. 21:59 skrev Brad Isbell:


Any help would be very much appreciated.

My Configuration-
Solaris 8 - hostname = vail
Samba 3.0.10 (downloaded from sunfreeware.com)
As per the instructions on sunfreeware, I have also installed the  
following packages-

libgcc-3.3
libiconv-1.9.2
libintl-3.4.0
ncurses-5.4
popt 1.7
readline 5.1

Also on my network-
A Windows 2003 ES domain controller: hostname = SEEDS1  domain = SEEDS
A Windows 2003 ES system: hostname = SEEDS2 member of domain SEEDS

Objective:
All I want is for my users on the windows hosts to be able to  
access shared resources from the samba server.  I want all  
authentication to go through the DC, I do not want to have to  
maintain a local smbpasswd file.


Problem:
When I put a directory search path of \\vail\Samba into the Windows  
system it prompts for a username and password.  When I put in the  
username and password of a domain account I do not get access to  
the share.  I can log into a windows system with the domain  
information, so I know it's not a problem with the domain  
configuration.



smb configuration from log.smbd:
 Processing section [global]
 doing parameter workgroup = SEEDS
 doing parameter server string = Samba Server
 doing parameter security = domain
 doing parameter encrypt passwords = yes
 doing parameter load printers = yes
 doing parameter log file = /usr/local/samba/var/log.%m
 doing parameter max log size = 50
 doing parameter socket options = TCP_NODELAY
 doing parameter dns proxy = no
[2006/11/06 14:26:12, 2] param/loadparm.c:do_section(3412)
 Processing section [homes]
 doing parameter comment = Home Directories
 doing parameter browseable = no
 doing parameter writable = yes
[2006/11/06 14:26:12, 2] param/loadparm.c:do_section(3412)
 Processing section [SAMBA]
 doing parameter comment = Samba Packages
 doing parameter path = /export/Samba
 doing parameter public = yes
 doing parameter writeable = no
[2006/11/06 14:26:12, 2] param/loadparm.c:do_section(3412)
 Processing section [printers]
 doing parameter comment = All Printers
 doing parameter path = /usr/spool/samba
 doing parameter browseable = no
 doing parameter guest ok = no
 doing parameter writable = no
 doing parameter printable = yes


Tests on Samba server.
These tests show that the Samba server does have access to the domain.

Test 1 : use wbinfo to authenticate user account  - SUCCESS
# wbinfo -a bisbell%PASSWORD
plaintext password authentication failed
error code was NT_STATUS_NO_SUCH_USER (0xc064)
error messsage was: No such user
Could not authenticate user bisbell%PASSWORD with plaintext password
challenge/response password authentication succeeded

Test 2:  Use wbinfo to show that domain info is accessable - SUCCESS
# wbinfo -u
SEEDS\Administrator
SEEDS\bisbell
SEEDS\cowens
SEEDS\Guest
SEEDS\krbtgt

# wbinfo -g
BUILTIN\System Operators
BUILTIN\Replicators
BUILTIN\Guests
BUILTIN\Power Users
BUILTIN\Print Operators
BUILTIN\Administrators
BUILTIN\Account Operators
BUILTIN\Backup Operators
BUILTIN\Users
SEEDS\Domain Admins
SEEDS\Domain Users
SEEDS\Domain Guests
SEEDS\Domain Computers
SEEDS\Domain Controllers
SEEDS\Schema Admins
SEEDS\Enterprise Admins
SEEDS\Group Policy Creator Owners
SEEDS\DnsUpdateProxy


Possible Related Problems-

The smbclient command does not work.
# smbclient -U bisbell //vail/Samba
Password:

session setup failed: NT_STATUS_LOGON_FAILURE


smbtree produces no output
# smbtree
password:

#


Any ideas on what I'm doing wrong?

Thanks,
  Brad




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


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


[Samba] Samba on Solaris 10 Sparc

2006-01-31 Thread Mark R. White

Does anyone have a successful install of this?  I tried installing it via
the Sunfreeware binary and even though it installed, the service would never
start.  So I decided to remove that and compile it from source.  When trying
to compile from source, it always errors out.  I would just like to hear
from someone who has a successful install of Samba on Solaris 10 Sparc.
Also, if anyone has a how-to posted somewhere with information unique to a
Samba installation on Solaris 10 Sparc, that would be helpful as well. 

Thanks again everyone, 

Mark

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


RE: [Samba] Samba on Solaris with LDAP support

2006-01-31 Thread Dege, Robert C.

 I had a similar problem when I was cross-compiling Samba for mipsel.
 
 It is most likely OpenLDAP issue.
 
 see config.log and look for lldap / libldap errors.
 
 You may also search for my posts in how does libldap 
 detection work in ./configure script? thread on samba-technical list.

After some deeper analysis of the config.log file, I discovered the
problem was an ldap/openssl problem (specifically, I didn't build
openssl with shared libraries).  Recompiling those packages resolved the
ldap problems I had during samba's configure.

But now I've encountered a new problem when attempting to compile.  The
error message generated is not as detailed as I was hoping, and I'm not
sure how to resolve this issue.  Any ideas?


Compiling passdb/pdb_ldap.c
passdb/pdb_ldap.c: In function `pdb_init_ldapsam':
passdb/pdb_ldap.c:4388: error: incompatible types in assignment
*** Error code 1

The following command caused the error:
gcc -I. -I/usr/src/samba-3.0.21a/source  -I/usr/local/include -O3 -pipe
-D_SAMBA_BUILD_ -I./popt -Iinclude
-I/usr/src/samba-3.0.21a/source/include
-I/usr/src/samba-3.0.21a/source/ubiqx
-I/usr/src/samba-3.0.21a/source/tdb  -I.
-I/usr/local/include -I/usr/local/include -D_LARGEFILE_SOURCE
-D_REENTRANT
-D_FILE_OFFSET_BITS=64 -DLDAP_DEPRECATED -DSUNOS5
-I/usr/src/samba-3.0.21a/source -D_SAMBA_BUILD_ -c passdb/pdb_ldap.c
\
  -o passdb/pdb_ldap.o 

make: Fatal error: Command failed for target `passdb/pdb_ldap.o'


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


RE: [Samba] Samba 3.0.21 +solaris 8 +xdm +pam +2003 AD

2006-01-30 Thread Masopust, Christian
Hi Richard,

i think you'll have to move to pam_winbind as pam_smb is not aware of
SMB signing (which is normally switched on in W2k3 ADs).

Chris
 

 -Original Message-
 From: 
 [EMAIL PROTECTED] 
 [mailto:[EMAIL PROTECTED]
ba.org] On Behalf Of Batty, Richard
 Sent: Friday, January 27, 2006 4:10 PM
 To: Samba Mailing List (E-mail)
 Subject: [Samba] Samba 3.0.21 +solaris 8 +xdm +pam +2003 AD
 
 
 We have recently upgraded to :
 
 samba-3.0.21
 openssl-0.9.7g
 krb5-1.4.3
 openldap-2.3.11
 db-4.4.16
 cyrus-sasl-2.1.21
 m4-1.4.4flex-2.5.31
 autoconf-2.59
 libiconv-1.9.1
 gcc-3.4.2
 bison-2.1
 automake-1.9
 libtool-1.5.22
 
 and have got samba authenticating against our 2003 AD 
 servers, however we now discovered that someone has setup xdm 
 to use pam authentication to the old NT4 domain using xdm.pam 
 and pam_smb_auth.so.1
 
 weve tried repointing the pam_smb.conf file to the new domain 
 controllers and it still wont authenticate is pam_smb still 
 in use or is there a better way to do this?
 
 Thanks
 
 Rich
 
 
 This e-mail and any attachment is for authorised use by the 
 intended recipient(s) only. It may contain proprietary 
 material, confidential information and/or be subject to legal 
 privilege. It should not be copied, disclosed to, retained or 
 used by, any other party. If you are not an intended 
 recipient then please promptly delete this e-mail and any 
 attachment and all copies and inform the sender. Thank you.
 -- 
 To unsubscribe from this list go to the following URL and read the
 instructions:  https://lists.samba.org/mailman/listinfo/samba
 
--
To unsubscribe from this list go to the following URL and read the
instructions:  https://lists.samba.org/mailman/listinfo/samba


[Samba] Samba on Solaris with LDAP support

2006-01-30 Thread Dege, Robert C.

I'm trying to build samba with ldap/ads support on a solaris10 sparc
system.  After some googling, I followed some the advise of others, and
built krb5, openssl, and openldap and installed into /usr/local.

When running configure, I get errors about ldap not being found:

...
checking for LDAP support... yes
checking ldap.h usability... yes
checking ldap.h presence... yes
checking for ldap.h... yes
checking lber.h usability... yes
checking lber.h presence... yes
checking for lber.h... yes
checking for ber_scanf in -llber... yes
checking for ldap_init in -lldap... no
checking for ldap_set_rebind_proc... no
checking whether ldap_set_rebind_proc takes 3 arguments... 3
configure: error: libldap is needed for LDAP support


I do have LD_LIBRARY_PATH defined with /usr/local/lib, and the CPPFLAGS
is set in the configure line:

# ./configure CFLAGS=-O3 -pipe CPPFLAGS=-I/usr/local/include
--prefix=/usr/local 
--sysconfdir=/usr/local/etc/samba --localstatedir=/usr/local/var
--with-ads 
--with-krb5=/usr/local --with-ldap --with-quotas --with-acl-support 
--with-logfilebase=/var/log/samba
--with-privatedir=/usr/local/etc/samba/private 
--with-configdir=/usr/local/etc/samba --with-included-popt


Any help is appreciated.

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


Re: [Samba] Samba on Solaris with LDAP support

2006-01-30 Thread Tomasz Chmielewski

Dege, Robert C. schrieb:

I'm trying to build samba with ldap/ads support on a solaris10 sparc
system.  After some googling, I followed some the advise of others, and
built krb5, openssl, and openldap and installed into /usr/local.

When running configure, I get errors about ldap not being found:

...
checking for LDAP support... yes
checking ldap.h usability... yes
checking ldap.h presence... yes
checking for ldap.h... yes
checking lber.h usability... yes
checking lber.h presence... yes
checking for lber.h... yes
checking for ber_scanf in -llber... yes
checking for ldap_init in -lldap... no
checking for ldap_set_rebind_proc... no
checking whether ldap_set_rebind_proc takes 3 arguments... 3
configure: error: libldap is needed for LDAP support


I had a similar problem when I was cross-compiling Samba for mipsel.

It is most likely OpenLDAP issue.

see config.log and look for lldap / libldap errors.

You may also search for my posts in how does libldap detection work in 
./configure script? thread on samba-technical list.



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


Re: [Samba] Samba on Solaris with LDAP support

2006-01-30 Thread Дейтер Александр Валериевич
Dege, Robert C. wrote:

 I'm trying to build samba with ldap/ads support on a solaris10 sparc
 system.  After some googling, I followed some the advise of others, and
 built krb5, openssl, and openldap and installed into /usr/local.
 When running configure, I get errors about ldap not being found:
 checking for ber_scanf in -llber... yes
 checking for ldap_init in -lldap... no
 checking for ldap_set_rebind_proc... no
 configure: error: libldap is needed for LDAP support
 I do have LD_LIBRARY_PATH defined with /usr/local/lib, and the CPPFLAGS
 is set in the configure line:

 # ./configure CFLAGS=-O3 -pipe CPPFLAGS=-I/usr/local/include

Add LDFLAGS=-L/usr/local/lib -R/usr/local/lib for build Samba with
OpenLDAP client library.

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


RE: [Samba] Samba on Solaris with LDAP support

2006-01-30 Thread Dege, Robert C.

I added the LDFLAGS=-L/usr/local/lib -R/usr/local/lib, but it did not
help, I still get the same error message. 

-Rob

 -Original Message-
 From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] 
 Sent: Monday, January 30, 2006 1:59 PM
 To: Dege, Robert C.; samba@lists.samba.org
 Subject: Re: [Samba] Samba on Solaris with LDAP support
 
 Dege, Robert C. wrote:
 
  I'm trying to build samba with ldap/ads support on a 
 solaris10 sparc 
  system.  After some googling, I followed some the advise of others, 
  and built krb5, openssl, and openldap and installed into /usr/local.
  When running configure, I get errors about ldap not being found:
  checking for ber_scanf in -llber... yes checking for ldap_init in 
  -lldap... no checking for ldap_set_rebind_proc... no
  configure: error: libldap is needed for LDAP support I do have 
  LD_LIBRARY_PATH defined with /usr/local/lib, and the 
 CPPFLAGS is set 
  in the configure line:
 
  # ./configure CFLAGS=-O3 -pipe CPPFLAGS=-I/usr/local/include
 
 Add LDFLAGS=-L/usr/local/lib -R/usr/local/lib for build 
 Samba with OpenLDAP client library.
 
 --
 Alex Deiter
 
--
To unsubscribe from this list go to the following URL and read the
instructions:  https://lists.samba.org/mailman/listinfo/samba


[Samba] Samba 3.0.21 +solaris 8 +xdm +pam +2003 AD

2006-01-27 Thread Batty, Richard

We have recently upgraded to :

samba-3.0.21
openssl-0.9.7g
krb5-1.4.3
openldap-2.3.11
db-4.4.16
cyrus-sasl-2.1.21
m4-1.4.4flex-2.5.31
autoconf-2.59
libiconv-1.9.1
gcc-3.4.2
bison-2.1
automake-1.9
libtool-1.5.22

and have got samba authenticating against our 2003 AD servers, however we now 
discovered that someone has setup xdm to use pam authentication to the old NT4 
domain using xdm.pam and pam_smb_auth.so.1

weve tried repointing the pam_smb.conf file to the new domain controllers and 
it still wont authenticate is pam_smb still in use or is there a better way to 
do this?

Thanks

Rich


This e-mail and any attachment is for authorised use by the intended 
recipient(s) only. It may contain proprietary material, confidential 
information and/or be subject to legal privilege. It should not be copied, 
disclosed to, retained or used by, any other party. If you are not an intended 
recipient then please promptly delete this e-mail and any attachment and all 
copies and inform the sender. Thank you.
--
To unsubscribe from this list go to the following URL and read the
instructions:  https://lists.samba.org/mailman/listinfo/samba


Re: [Samba] Samba 3.20 Solaris questions PLEASE HELP!

2005-10-03 Thread Gerald (Jerry) Carter

-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

Matt Marcus wrote:

|  1 - Does PAM have to be configured when using winbind
| and samba 3 in an ADS environment? Everything is currently
| working and I've done nothing to configure PAM, yet
| all online documetation states this is a necissary step?

No.  You only need PAM if you want to use pam (or build pam_winbindd.so)

|  2 - Can samba 3 still use ads and winbind without
| adding winbind to nsswitch.conf? If not is there anyway
| to force winbind to leave all applications with the
| exception of samba out of its control eg helios
| admsrv, afpserv or anything else installed on the
| system that may consult nsswitch that knows
| nothing about domains or winbind?

Samba has to have a uid/gid for each user/group in the
Windows domain.  If you don't want to use the global
/etc/nsswitch.conf, you could use a chroot environment
or a Solaris 10 zone.


|  3 - Why does wbinfo -u fail to return entries from
| the domain controler periodically? Is this normal
| behavior or did I mess up configuration someplace?

No.  wbinfo -u should consistently return all users.

|  4 - wbinfo -u seems to work 80% of the time but
| when it takes a long time to query the domain
| controller access to any service on the sun server is
| slow?

enumerating users and groups is slow.  We're working
on fixing this but for now you might just prefer to
set 'winbind enum {users,groups} = no' in smb.conf.
This will break any applications that use
{set,get,end}{pw,gr}ent() but such application tend to
be fairly rare tehse days (although IIRC id and finger are
one of them).






cheers, jerry
=
Alleviating the pain of Windows(tm)  --- http://www.samba.org
GnuPG Key- http://www.plainjoe.org/gpg_public.asc
There's an anonymous coward in all of us.   --anonymous
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.0 (GNU/Linux)
Comment: Using GnuPG with Thunderbird - http://enigmail.mozdev.org

iD8DBQFDQSgXIR7qMdg1EfYRAqFoAKCI5t/v4nIGbtmhaErP2w5IsOjgqgCfdXql
nzsYgIU2rZvGB885XzLzbgc=
=xUOl
-END PGP SIGNATURE-
--
To unsubscribe from this list go to the following URL and read the
instructions:  https://lists.samba.org/mailman/listinfo/samba


Re: [Samba] Samba 3.20 Solaris questions PLEASE HELP!

2005-10-03 Thread Matt Marcus
OMG Jerry YOU ARE A GOD! Enum users and enum groups did the trick I turned
them off and I can now login to admsrv dude thank you s much I've been
trying to figure that out for 2 weeks I OWE U BEER or wine whatever you want
!

On 10/3/05, Matt Marcus [EMAIL PROTECTED] wrote:

 Jerry,
 Thank you sooo much for your answers to my questions I was beggining to
 lose hope :)
  As for your answer below, do you have any online resources that may go
 over how to configure a chroot environment, I'm not familure with it at all?
 The application we're using on this box requires Solaris 8 so an upgrade to
 solaris 10 is not currently possible.
  Samba has to have a uid/gid for each user/group in the
 Windows domain. If you don't want to use the global
 /etc/nsswitch.conf, you could use a chroot environment
 or a Solaris 10 zone.
  I will attempt the changes you suggested today. Basically I'm having a
 problem with this product named Helios Ethershare its an old school legacy
 OPI and appletalk filesharing system. There is an administration service
 named admsrv that allows you to configure the ethershare application via a
 client gui. It is this app thats causing all the issues with winbind. The
 app should essentially consult nsswitch.conf, find the root user, if the
 root user does not exist it will consult its own passwd database for root,
 if it can't find an account there it will consult nsswitch for some other
 means of auth. Unfortuently when winbind is running the app doesn't see root
 in /etc/passwd or in its own passwd database and then begins to consult
 winbind. However the app hangs while logging in for 30 minutes but stopping
 winbind allows you to login instantly. I'm attaching my smb.conf as well
 as 3 text files named (TrussAdmSrvFailed.out, TrussAdmsrvSuccess.out, and
 TrussWinbindFailedAuth.out) The first two are truss outputs of the
 application admsrv in both a successful state without winbind and an
 unsucessful state with winbind. The last is a truss of winbind while a
 failed login is in progress. I hope this is enough to help let me know if
 there is something else that may help with debugging this.

 # Samba config file created using SWAT
 # from 170.165.228.218 http://170.165.228.218/ ( 
 170.165.228.218http://170.165.228.218/
 )
 # Date: 2005/09/29 16:51:36

 # Global parameters
 [global]
 workgroup = NDMSNET
 realm = NEWSDAY.AD.TRB
 netbios name = NDCCS
 server string = Consolidated Content Server
 interfaces = 170.165.195.177 http://170.165.195.177/
 bind interfaces only = Yes
 security = ADS
 map to guest = Bad User
 lanman auth = No
 client NTLMv2 auth = Yes
 client lanman auth = No
 client plaintext auth = No
 getwd cache = No
 wins server = 170.165.228.9 http://170.165.228.9/
 ldap ssl = no
 idmap uid = 1-3
 idmap gid = 1-3
 winbind separator = +
 winbind use default domain = Yes
 admin users = root, NDMSNET+marcusm
 wide links = No

 [Laser]
 comment = Laser Print Queue Share
 path = /opi_laser
 read only = No

 [Imagers]
 comment = Image Setter Queue Share
 path = /opi_imagers
 read only = No

 [XML]
 comment = XML Share For Order Entry
 path = /app/samba/Mounts
 read only = No

 [ToPlate]
 comment = PDF To Plate Share
 path = /psfiles/To_Plate
 read only = No

 [RipCheck]
 comment = Rip Validation Share
 path = /app/samba/PagMounts

 [MattsHome]
 comment = Home Dir
 path = /usr/users/mmarcus
 read only = No
 create mask = 0664
 directory mask = 0775
 browseable = No

 [HammerThis]
 comment = Samba3 Stress Test
 path = /vol11
 admin users = NDMSNET+marcusm, NDMSNET+benzej
 read only = No
 guest ok = Yes


  On 10/3/05, Gerald (Jerry) Carter [EMAIL PROTECTED] wrote:
 
  -BEGIN PGP SIGNED MESSAGE-
  Hash: SHA1
 
  Matt Marcus wrote:
 
  | 1 - Does PAM have to be configured when using winbind
  | and samba 3 in an ADS environment? Everything is currently
  | working and I've done nothing to configure PAM, yet
  | all online documetation states this is a necissary step?
 
  No. You only need PAM if you want to use pam (or build pam_winbindd.so)
 
  | 2 - Can samba 3 still use ads and winbind without
  | adding winbind to nsswitch.conf? If not is there anyway
  | to force winbind to leave all applications with the
  | exception of samba out of its control eg helios
  | admsrv, afpserv or anything else installed on the
  | system that may consult nsswitch that knows
  | nothing about domains or winbind?
 
  Samba has to have a uid/gid for each user/group in the
  Windows domain. If you don't want to use the global
  /etc/nsswitch.conf, you could use a chroot environment
  or a Solaris 10 zone.
 
 
  | 3 - Why does wbinfo -u fail to return entries from
  | the domain controler periodically? Is this normal
  | behavior or did I mess up configuration someplace?
 
  No. wbinfo -u should consistently return all users.
 
  | 4 - wbinfo -u seems to work 80% of the time but
  | when it takes a long time to query the domain
  | controller access to any 

[Samba] Samba 3.20 Solaris questions PLEASE HELP!

2005-10-01 Thread Matt Marcus
Hello,
 I have samba 3.20 running in test on Solaris 8 and 9 beautifully it is
curently configured as a Domain Client it authenticates using winbind and
nsswitch libraries using ADS with windows 2003 server. I have krb5 and ldap
working just fine but I now find myself with a mess of bugs and questions
and I could really use some of your expertise in the matters so here they
go, Thank you s much in advance to anyone who has some answers for me.
  Questions
 1 - Does PAM have to be configured when using winbind and samba 3 in an ADS
environment? Everything is currently working and I've done nothing to
configure PAM, yet all online documetation states this is a necissary step?
 2 - Can samba 3 still use ads and winbind without adding winbind to
nsswitch.conf? If not is there anyway to force winbind to leave all
applications with the exception of samba out of its control eg helios
admsrv, afpserv or anything else installed on the system that may consult
nsswitch that knows nothing about domains or winbind?
 3 - Why does wbinfo -u fail to return entries from the domain controler
periodically? Is this normal behavior or did I mess up configuration
someplace?
 4 - wbinfo -u seems to work 80% of the time but when it takes a long time
to query the domain controller access to any service on the sun server is
slow?
  PLEASE HELP GUYS !
--
To unsubscribe from this list go to the following URL and read the
instructions:  https://lists.samba.org/mailman/listinfo/samba


Re: [Samba] Samba + NFS + Solaris 9

2005-07-19 Thread Torey Alford
Jason,

The private and samba configuration files are on the local disk on the
Solaris machine. Particularly in /opt/csw/*. The only thing NFS mounted
is /export from Machine A, which contains project folders and user
directories. I am currently contemplating putting Samba on Machine A,
seeing as this seems a bit impossible at the moment. I think this is the
best work-around for the time being, unless someone can give me another
solution.

-Torey

On Mon, 2005-07-18 at 11:28 -0500, Jason Signalness wrote:
 Torey,
 
 We used a similar configuration for quite some time.  Are your Samba 
 binaries (in particular, the private directory) on a local disk, or an 
 NFS mount?  We were trying to run Samba from an NFS mount, to share out 
 other NFS mounts.  It would not work unless the Samba binaries were on a 
 local (non-nfs) disk.
 
 Hope that helps.
 
 -Jason
 
 Torey Alford wrote:
 
 I was trolling around on the lists, and noticed that there were a few
 people who had issues with making Samba share directories which happend
 to be NFS mounts. That is, on Machine A, I am exporting (via
 NFS) /export, and on Machine B, I have mounted MachineA:/export
 to /export on this machine. Machine B is also the Samba box in which I
 share /export/shared. Whenever a Win32 user browses the folders, it
 seems to be okay. However, the moment a write attempt occurs, the Samba
 process spazzes out, and the Win32 client freezes waiting for the
 spazzed process to complete.
 
 General Information:
 
 Machine A: (NFS box)
 * Sun Fire V440
 * Solaris 9
 
 Machine B: (Samba box)
 * Sun Enterprise 420
 * Solaris 9
 * Samba 3.0.14a
 
 Configuration File:
 
 [global]
 encrypt passwords = true
 netbios name = geometry
 server string = Information Server
 security = user
 workgroup = MyWorkgroup
 domain logons = yes
 domain master = yes
 local master = yes
 preferred master = yes
 os level = 255
 wins support = yes
 time offset = 60
 time server = True
 passdb backend = ldapsam:ldap://192.168.0.2/
 ldap passwd sync = Yes
 ldap admin dn = uid=sysadmin,ou=people,dc=localhost
 ldap ssl = no
 password server = 192.168.0.2
 ldap suffix = dc=localhost
 ldap machine suffix = ou=People
 ldap user suffix = ou=People
 ldap group suffix = ou=Groups
 ldap machine suffix = ou=Computers
 ldap passwd sync = yes
 log level = 1
 logon home = \\%L\%U
 logon path = \\%L\profiles\%U
 logon drive = H:
 admin users = sysadmin tor Administrator
 # Needed for NFS handling
 lock directory = /opt/csw/var/locks/samba
 kernel oplocks = no
 oplocks = yes
 level2 oplocks = yes
 veto oplock files = /*.mdb/
 posix locking = yes
 hide dot files = no
 
 [homes]
 read only = no
 create mode = 0600
 directory mode = 0700
 
 [share]
 path = /export/share
 create mode = 0664
 read only = no
 
 [profiles]
 path = /export/profiles
 writeable = yes
 browseable = no
 create mask = 0600
 directory mask = 0700
 profile acls = yes
 
 
 
 Any help would be much appreciated!
 
 -Torey
 
   
 

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


[Samba] Samba + NFS + Solaris 9

2005-07-18 Thread Torey Alford
I was trolling around on the lists, and noticed that there were a few
people who had issues with making Samba share directories which happend
to be NFS mounts. That is, on Machine A, I am exporting (via
NFS) /export, and on Machine B, I have mounted MachineA:/export
to /export on this machine. Machine B is also the Samba box in which I
share /export/shared. Whenever a Win32 user browses the folders, it
seems to be okay. However, the moment a write attempt occurs, the Samba
process spazzes out, and the Win32 client freezes waiting for the
spazzed process to complete.

General Information:

Machine A: (NFS box)
* Sun Fire V440
* Solaris 9

Machine B: (Samba box)
* Sun Enterprise 420
* Solaris 9
* Samba 3.0.14a

Configuration File:

[global]
encrypt passwords = true
netbios name = geometry
server string = Information Server
security = user
workgroup = MyWorkgroup
domain logons = yes
domain master = yes
local master = yes
preferred master = yes
os level = 255
wins support = yes
time offset = 60
time server = True
passdb backend = ldapsam:ldap://192.168.0.2/
ldap passwd sync = Yes
ldap admin dn = uid=sysadmin,ou=people,dc=localhost
ldap ssl = no
password server = 192.168.0.2
ldap suffix = dc=localhost
ldap machine suffix = ou=People
ldap user suffix = ou=People
ldap group suffix = ou=Groups
ldap machine suffix = ou=Computers
ldap passwd sync = yes
log level = 1
logon home = \\%L\%U
logon path = \\%L\profiles\%U
logon drive = H:
admin users = sysadmin tor Administrator
# Needed for NFS handling
lock directory = /opt/csw/var/locks/samba
kernel oplocks = no
oplocks = yes
level2 oplocks = yes
veto oplock files = /*.mdb/
posix locking = yes
hide dot files = no

[homes]
read only = no
create mode = 0600
directory mode = 0700

[share]
path = /export/share
create mode = 0664
read only = no

[profiles]
path = /export/profiles
writeable = yes
browseable = no
create mask = 0600
directory mask = 0700
profile acls = yes



Any help would be much appreciated!

-Torey

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


Re: [Samba] Samba + NFS + Solaris 9

2005-07-18 Thread Jason Signalness

Torey,

We used a similar configuration for quite some time.  Are your Samba 
binaries (in particular, the private directory) on a local disk, or an 
NFS mount?  We were trying to run Samba from an NFS mount, to share out 
other NFS mounts.  It would not work unless the Samba binaries were on a 
local (non-nfs) disk.


Hope that helps.

-Jason

Torey Alford wrote:


I was trolling around on the lists, and noticed that there were a few
people who had issues with making Samba share directories which happend
to be NFS mounts. That is, on Machine A, I am exporting (via
NFS) /export, and on Machine B, I have mounted MachineA:/export
to /export on this machine. Machine B is also the Samba box in which I
share /export/shared. Whenever a Win32 user browses the folders, it
seems to be okay. However, the moment a write attempt occurs, the Samba
process spazzes out, and the Win32 client freezes waiting for the
spazzed process to complete.

General Information:

Machine A: (NFS box)
* Sun Fire V440
* Solaris 9

Machine B: (Samba box)
* Sun Enterprise 420
* Solaris 9
* Samba 3.0.14a

Configuration File:

[global]
   encrypt passwords = true
   netbios name = geometry
   server string = Information Server
   security = user
   workgroup = MyWorkgroup
   domain logons = yes
   domain master = yes
   local master = yes
   preferred master = yes
   os level = 255
   wins support = yes
   time offset = 60
   time server = True
   passdb backend = ldapsam:ldap://192.168.0.2/
   ldap passwd sync = Yes
   ldap admin dn = uid=sysadmin,ou=people,dc=localhost
   ldap ssl = no
   password server = 192.168.0.2
   ldap suffix = dc=localhost
   ldap machine suffix = ou=People
   ldap user suffix = ou=People
   ldap group suffix = ou=Groups
   ldap machine suffix = ou=Computers
   ldap passwd sync = yes
   log level = 1
   logon home = \\%L\%U
   logon path = \\%L\profiles\%U
   logon drive = H:
   admin users = sysadmin tor Administrator
   # Needed for NFS handling
   lock directory = /opt/csw/var/locks/samba
   kernel oplocks = no
   oplocks = yes
   level2 oplocks = yes
   veto oplock files = /*.mdb/
   posix locking = yes
   hide dot files = no

[homes]
   read only = no
   create mode = 0600
   directory mode = 0700

[share]
   path = /export/share
   create mode = 0664
   read only = no

[profiles]
   path = /export/profiles
   writeable = yes
   browseable = no
   create mask = 0600
   directory mask = 0700
   profile acls = yes



Any help would be much appreciated!

-Torey

 


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


[Samba] samba 3.0.13 + solaris 8

2005-07-07 Thread Anthony PEROT - Generation Unix
Hi,

I've installed on a Solaris 8 box, using pkg-get (blastwave.org), the
following packages :

- Samba 3.0.13

   CSWsamba + CSWsambaclient + CSWsambacommon +  CSWsambalib + CSWsambaswat

- MIT Kerberos 1.4.1

   CSWkrb5doc + CSWkrb5lib + CSWkrb5user

- OpenLdap 2.1.30 (ldap clients,libraries and server)

   CSWoldap

Then, I've verified using smbd -b that samba has been build using LDAP and
Kerberos support, it OK, so I did the following config :

/etc/krb5/krb5.conf

[libdefaults]
default_realm = MYDOMAIN.COM

[realms]
MYDOMAIN.COM = {
kdc = 192.0.0.2
default_domain = MYDOMAIN.COM
}

[domain_realm]
.mydomain.com = MYDOMAIN.COM
mydomain.com = MYDOMAIN.COM

/opt/csw/etc/samba/smb.conf :

[global]
workgroup = DOMAIN
realm = MYDOMAIN.COM
server string = Samba File Server - Sun Solaris 8
netbios name = samba
security = ADS
client schannel = Auto
server schannel = Auto
client signing = Auto
server signing = Auto
client use spnego = No
socket options = TCP_NODELAY
dns proxy = No
#idmap uid = 1-2
#idmap gid = 1-2
winbind separator = _
winbind enum users = No
winbind enum groups = No
winbind use default domain = No
algorithmic rid base = 1
dos filetimes = Yes
dos filemode = Yes
acl compatibility = win2k
inherit acls = yes
inherit permissions = yes
encrypt passwords = yes


I did net ads join and it has succeded

So, if I launch smbd, nmbd and winbindd they keep on running without
crashing, I can see the server in the network neigbourhood, but if I
double clic on it an authentication window appears and I can enter a
username/password but this windows always appear and I can't access to
browse the shares.

Output of log.smbd when just typing on a workstation \\samba :

[2005/07/07 09:49:30, 0] smbd/server.c:(388)
  open_sockets_smbd: accept: Software caused connection abort
[2005/07/07 09:49:30, 0] auth/auth_util.c:(1195)
  make_server_info_info3: pdb_init_sam failed!
[2005/07/07 09:49:30, 0] smbd/server.c:(388)
  open_sockets_smbd: accept: Software caused connection abort
[2005/07/07 09:49:30, 0] auth/auth_util.c:(1195)
  make_server_info_info3: pdb_init_sam failed!
[2005/07/07 09:49:30, 0] smbd/server.c:(388)
  open_sockets_smbd: accept: Software caused connection abort
[2005/07/07 09:49:30, 0] auth/auth_util.c:(1195)
  make_server_info_info3: pdb_init_sam failed!
[2005/07/07 09:49:30, 0] auth/auth_util.c:(1195)
  make_server_info_info3: pdb_init_sam failed!


And now when trying to authenticate with a valid username/password :

[2005/07/07 09:51:11, 0] smbd/server.c:(388)
  open_sockets_smbd: accept: Software caused connection abort
[2005/07/07 09:51:11, 0] auth/auth_util.c:(1195)
  make_server_info_info3: pdb_init_sam failed!


Nothing in log.winbindd


What is working or not working :


wbinfo -t : OK

wbinfo -g : OK but only some BULTIN groups not all and not the other
groups in AD

wbinfo -p : OK

wbinfo -u : Not OK : Error looking up domain users

net user : OK : I get the full list in output
net group : OK : idem
net user INFO username : OK


Do you have any idea of what is wrong ?

Thanks







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


[Samba] Samba on Solaris doesn't recognize new printer until restarting

2005-06-14 Thread Francisco Cano Entrena
Hello!

We have a Solaris server (SunOs 5.8) with Samba 3.0.10.
When I add a printer to the system, Samba doesn't recognize until I restart 
it. The relevant lines of my smb.conf are:

[global]
workgroup = ADMINISTRACION
netbios name = HATOR
server string = Servidor de Administracion (Samba %v)
interfaces = ce1
bind interfaces only = Yes
printcap name = lpstat
print command = /usr/bin/lp -c -d %p %s; rm %s
lpq command =  /usr/bin/lpstat -o %p
lprm command = /usr/bin/cancel %j %p
lppause command = /usr/bin/lp -i %p-%j -H hold
lpresume command = /usr/bin/lp -i %p-%j -H resume
queuepause command = /usr/bin/disable %p
printing = sysv

[printers]
comment = All Printers
path = /var/spool/lp/samba
create mask = 0700
printable = Yes
browseable = No

Please, help me with this problem.
TIA. 



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


[Samba] samba on solaris 2.8 not creating STATUS..LCK file

2005-06-01 Thread Jsacpoppop
for the last two nights one of your trucks is parked in a residential  area.  
the unit number is 342995 tagged in oklahoma tag number  2CZ487.  In the 
state of maryland it is against the law to park in a  residential area.  we are 
short on parking space in the first place we hope  that you can correct this 
problem. 
 
thank you,
J. K. Hudson Jr.
 
-- 
To unsubscribe from this list go to the following URL and read the
instructions:  https://lists.samba.org/mailman/listinfo/samba


Re: [Samba] Samba Server [Solaris 8] on Windows 2K/2003 [ADS] network

2005-04-24 Thread Christoph Kaegi
On 22.04-10:18, Eric Boehm wrote:

 Tim  -Is it possible to
 Tim set up a test environment for the new Samba release in
 Tim another location on the same UNIX box?
 
 Not sure what you mean here. Do you mean you want to separate Samba
 installs on the same box? If so, you would need at least two network
 interfaces. You can't run two instances of Samba on the same
 interface/IP address.
 

You don't need a second network interface, you can just define 
a second IPaddress on the same interface.

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


[Samba] Samba Server [Solaris 8] on Windows 2K/2003 [ADS] network

2005-04-22 Thread TimS
ALL:

Please forgive my ignorance. I am not just naive regarding Samba..., or 
Solaris..., or UNIX, or Windows Networking..., the naivity courses through 
my veins abundantly in all IT related matters. :-)

Our work unit is the lone UNIX [Samba server 2.2 on Solaris 8] installation 
on the organizational Windows WAN. None of the analysts in our unit have 
domain admin rights. The sys manager in our unit [my boss] has steadfastly 
refused to add our UNIX [Samba] server to the windows domain.

Password synchronization has been a thorn in our side from day one. A SSO 
solution is the ultimate, but from what I'm reading, that isn't possible 
unless/until our Samba server is added to the domain.

QUESTIONS:
-Would upgrading to the lastest Samba release help at all on this issue?
-I don't see a binary available at the Samba download site for Solaris 8. 
Our SysMgr could certainly do the upgrade without the binary, but I have not 
ever done the make/build routine before.
-Is it possible to set up a test environment for the new Samba release in 
another location on the same UNIX box?

DOH!
TimS



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


Re: [Samba] Samba Server [Solaris 8] on Windows 2K/2003 [ADS] network

2005-04-22 Thread Eric Boehm
On Fri, Apr 22, 2005 at 08:22:14AM -0500, TimS wrote:
 Tim == TimS  [EMAIL PROTECTED] writes:

Tim ALL: Please forgive my ignorance. I am not just naive
Tim regarding Samba..., or Solaris..., or UNIX, or Windows
Tim Networking..., the naivity courses through my veins
Tim abundantly in all IT related matters. :-)

Tim Our work unit is the lone UNIX [Samba server 2.2 on Solaris
Tim 8] installation on the organizational Windows WAN. None of
Tim the analysts in our unit have domain admin rights. The sys
Tim manager in our unit [my boss] has steadfastly refused to add
Tim our UNIX [Samba] server to the windows domain.

Tim Password synchronization has been a thorn in our side from
Tim day one. A SSO solution is the ultimate, but from what I'm
Tim reading, that isn't possible unless/until our Samba server is
Tim added to the domain.

Tim QUESTIONS: -Would upgrading to the lastest Samba release help
Tim at all on this issue?  -I don't see a binary available at the
Tim Samba download site for Solaris 8.  Our SysMgr could

You just need Samba 3.

Tim certainly do the upgrade without the binary, but I have not
Tim ever done the make/build routine before. 

That could be tricky. I've built Samba 3 with kerberos and ldap and
the various components needs for ADS but it is decidedly non-trivial.

However, you don't need to use 'security = ads' to participate. You
can use just 'security = domain' which would be a plain vanilla
build. We have several servers participating in an ADS network with
'security=domain'. You would then be able to pass authentication
through to the Windows domain controllers.

Tim  -Is it possible to
Tim set up a test environment for the new Samba release in
Tim another location on the same UNIX box?

Not sure what you mean here. Do you mean you want to separate Samba
installs on the same box? If so, you would need at least two network
interfaces. You can't run two instances of Samba on the same
interface/IP address.

I hope this helps.

-- 
Eric M. Boehm  /\  ASCII Ribbon Campaign
[EMAIL PROTECTED]   \ /  No HTML or RTF in mail
X   No proprietary word-processing
Respect Open Standards / \  files in mail
-- 
To unsubscribe from this list go to the following URL and read the
instructions:  https://lists.samba.org/mailman/listinfo/samba


Re: [Samba] samba for solaris

2005-02-08 Thread Spike Burkhardt
Emilio,

  go to www.sunfreeware.com.  You'll find a whole bunch of stuff
including Samba 3.0.10 for solaris 9!

spike

Emilio Brusa wrote:

 Hi:
 I need install in one solaris9-sparc Samba, but in the
 http://us4samba.org/ftp/Binary_Packages/solaris/
 http://us4samba.org/ftp/Binary_Packages/solaris/
 I dont see the binaries.

 Somebody could please help me to find samba for solaris sparc.

 Thanks a lot

 E.


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

[Samba] samba for solaris

2005-02-07 Thread Emilio Brusa
Hi:
I need install in one solaris9-sparc Samba, but in the
http://us4samba.org/ftp/Binary_Packages/solaris/
http://us4samba.org/ftp/Binary_Packages/solaris/  
I dont see the binaries.
 
Somebody could please help me to find samba for solaris sparc.
 
Thanks a lot
 
E.
 
 
-- 
To unsubscribe from this list go to the following URL and read the
instructions:  https://lists.samba.org/mailman/listinfo/samba


[Samba] Samba 3.0.4, Solaris + active directory support

2004-05-24 Thread Austin, Ben

Hi,

I'm attempting to install samba 3.0.4 with active directory support on
Solaris 8. Is there any Howto document around?? Any help would be greatly
appreciated. 

Thanks in advance.

Ben


Our name has changed.  Please update your address book to the following format: 
[EMAIL PROTECTED].

This message contains information that may be privileged or confidential and is the 
property of the Capgemini Group. It is intended only for the person to whom it is 
addressed. If you are not the intended recipient,  you are not authorized to read, 
print, retain, copy, disseminate,  distribute, or use this message or any part 
thereof. If you receive this  message in error, please notify the sender immediately 
and delete all  copies of this message.

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


[Samba] Samba 3.0.4, Solaris + active directory support

2004-05-24 Thread Austin, Ben


Hi,

I'm attempting to install samba 3.0.4 with active directory support on
Solaris 8. Is there any Howto document around?? Any help would be greatly
appreciated. 

Thanks in advance.

Ben



Our name has changed.  Please update your address book to the following format: 
[EMAIL PROTECTED].

This message contains information that may be privileged or confidential and is the 
property of the Capgemini Group. It is intended only for the person to whom it is 
addressed. If you are not the intended recipient,  you are not authorized to read, 
print, retain, copy, disseminate,  distribute, or use this message or any part 
thereof. If you receive this  message in error, please notify the sender immediately 
and delete all  copies of this message.

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


RE: [Samba] Samba 3.0.4, Solaris + active directory support

2004-05-24 Thread Yohann Ferreira
Look at the Samba-How-To-Collection.pdf file, section Domain MemberShip
See ya !
Bertram

From: Austin, Ben [EMAIL PROTECTED]
To: '[EMAIL PROTECTED]' [EMAIL PROTECTED]
Subject: [Samba] Samba 3.0.4, Solaris + active directory support
Date: Mon, 24 May 2004 09:34:19 +0100
Hi,
I'm attempting to install samba 3.0.4 with active directory support on
Solaris 8. Is there any Howto document around?? Any help would be greatly
appreciated.
Thanks in advance.
Ben

Our name has changed.  Please update your address book to the following 
format: [EMAIL PROTECTED].

This message contains information that may be privileged or confidential 
and is the property of the Capgemini Group. It is intended only for the 
person to whom it is addressed. If you are not the intended recipient,  you 
are not authorized to read, print, retain, copy, disseminate,  distribute, 
or use this message or any part thereof. If you receive this  message in 
error, please notify the sender immediately and delete all  copies of this 
message.

--
To unsubscribe from this list go to the following URL and read the
instructions:  http://lists.samba.org/mailman/listinfo/samba
_
Recevez par e-mail des émoticônes pour MSN Messenger 
http://g.msn.fr/FR1001/2275?url=http://www.msn.fr/ilovemessenger/premium/Default.asp?Ath=f

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


[Samba] Samba 3.0.4, Solaris + active directory support

2004-05-24 Thread Austin, Ben

Hi,

I'm attempting to install samba 3.0.4 with active directory support on
Solaris 8. Is there any Howto document around?? Any help would be greatly
appreciated. 

Thanks in advance.

Ben





Our name has changed.  Please update your address book to the following format: 
[EMAIL PROTECTED].

This message contains information that may be privileged or confidential and is the 
property of the Capgemini Group. It is intended only for the person to whom it is 
addressed. If you are not the intended recipient,  you are not authorized to read, 
print, retain, copy, disseminate,  distribute, or use this message or any part 
thereof. If you receive this  message in error, please notify the sender immediately 
and delete all  copies of this message.

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


[Samba] Samba on SOlaris and Linux Redhat

2003-12-09 Thread Ashok Kondala
All:
My experience with Samba is very limited and is on just HPUX. Now we
are trying to install Samab on Solaris 8 and Linux Redhat 7x. Is the there
any difference in the installation and configuration of the files compared
to HPUX and is there a separate downloadable file for Solaris?  If so, I
couldn't find one. Any help would be appreciated.

Thanks.

Ash



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


[Samba] Samba 2.2.8a Solaris 9

2003-11-21 Thread Todd Johnson
We have Samba 2.2.8a working fine here in our office for file sharing 
and print sharing. We wanted to now start using the PDC option of this 
build. I have added the needed switches in the smb.conf file for a PDC 
(verifed this through many FAQ's and Googles and Book walk-throughs). 
The problem is this. When I try to add a client to the domain it 
responds that the domain is not found and maybe I typed it wrong. It 
backs about DNS. My DNS settings are fine. I have went through them a 
few times already. We have spent a few hours troubleshooting this with 
no luck. We feel that everyhing is correct in our smb.conf file. The 
testparm prints out fine that these switches are in fact yes.

Anyone ever run across setting up a PDC function and then not be able to 
FIND the PDC??

All the other options samba gives us are running properly (file share 
and printing).

Todd



	




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


Re: [Samba] Samba PDC - Solaris 8 or 9??

2003-11-20 Thread Jeff Gardiner
Hello Todd, I can't see exactly what is going on but I am willing to make some 
observations.

When I encounter problems, I often strip down my smb.conf to the bare minimum 
and base it upon the examples in any of the SAMBA Howtos.  I especially like 
the ones in John Terpstra's book.  Check out:

http://us3.samba.org/samba/docs/man/

Keeping a copy of the current file, I would strip down your smb.conf to a more 
basic level like:

[global]
netbios name = SAMBA1
#socket options = TCP_NODELAY IPTOS_LOWDELAY SO_RCVBUF=8192 SO_SNDBUF=8192
#server string = BOA Samba
local master = yes
preferred master = yes
domain logons = yes
domain master = yes
# workgroup = anc-smb  Note: I don't know if a - is a valid char, but I'd \
  test without just in case
workgroup = TESTSMB
#interfaces = **
logon home = /walrus/%U
logon path =\\%N\profiles\%u
log file = /var/log/samba-log.%m
log level = 2
#max log size = 50
#lock directory = /var/lock/samba
#printcap name = /etc/printcap
security = user
#wins support = yes
#dns proxy = yes
os level = 99
#remote announce = *
#deadtime = 15

#authenctication options
security =  user
encrypt passwords = yes
null passwords = no
#password level = 0
smb passwd file = /usr/local/samba/private/smbpasswd
#unix realname = no

; ***  File System Configurations  ***
[netlogon]
comment = Net Logon
path = /usr/local/samba/lib/netlogon
read only = yes
#write = ntadmin

[profiles]
path = /var/lib/samba/profiles
read only = no
create mask = 0600
directory mask = 0700

I don't think I missed any of the essential pieces.  If you can get it working 
at this stage that start add the features you want testing each addition to 
ensure you don't break anything.  If it doesn't work at this point, look at 
the permissions on smbpasswd file, or /usr/local/samba/lib/netlogon, anything 
that might restrict access to the service.

Ensure you have the bit about profiles.  Also, if you're running WinXP you 
need to do two registry edits to join the machines to the domain:

[HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\Netlogon\Parameters] 
 requiresignorseal=dword: 
 signsecurechannel=dword:

I have found that you don't need to do this for win2k machines, but I have had 
to do it for winxp.  Samba 3.0.1pre3 seems to not require this.

Let me know how it works out.

Cheers
Jeff

PS to contact me remove the nospam from the email below.

-- 
Jeff Gardiner [ [EMAIL PROTECTED] ]
System Administrator - Imaging Research Laboratories
Robarts Research Institute - London ON, Canada
519.663.5777 x34089

   ~~~
  Those who do not understand Unix are condemned to reinvent it, poorly.
-- Henry Spencer
~~

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


[Samba] Samba PDC - Solaris 8 or 9??

2003-11-18 Thread Todd Johnson
If anyone has Samba setup to run as a PDC with Solaris 8 or 9 could you 
drop me a line? I have a few questions I would like ask. Our shop is 
looking at trying to implement this option with our SMB master. I didnt 
want to clutter up the list with more than one request.

--
Thank you
Todd Johnson
==
= Steven Todd Johnson  =
= State of Alaska Dept. of Natural Resources =
=MicroComputer/Network Specialist=
=(907) 269-8831  =
=(907) 269-8920 FAX  =
=  [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] Samba PDC - Solaris 8 or 9??

2003-11-18 Thread John H Terpstra
On Tue, 18 Nov 2003, Todd Johnson wrote:

 If anyone has Samba setup to run as a PDC with Solaris 8 or 9 could you
 drop me a line? I have a few questions I would like ask. Our shop is
 looking at trying to implement this option with our SMB master. I didnt
 want to clutter up the list with more than one request.


I am on a site tryig to do this right now. Let me know what your needs
are.

- John T.
-- 
John H Terpstra
Email: [EMAIL PROTECTED]
-- 
To unsubscribe from this list go to the following URL and read the
instructions:  http://lists.samba.org/mailman/listinfo/samba


[Samba] Samba 3.0 Solaris 8-sparc package available?

2003-10-12 Thread samba-list
Does anybody know if there are any precompiled solaris 8-sparc packages
available?

Thanks in advance!

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


[Samba] Samba 3 / Solaris 8 / Kerberos

2003-09-25 Thread Thomas Müller
Hi,
I have a problem to compile Samba 3 with ADS support on Solaris. 
Unfortunatly, Solaris 8 doesn't  come with integrated kerberos support, 
so that configure doesn't find any support for kerberos. For Solaris 8 
there is a package called SEAM 1.0.1 with provides kerberos 
functionality for Solaris, but the needed header file, i.e krb5.h, are 
not included and according to my informations from SUN, they will not 
ship the headers in future.

Do I have a chance to compile Samba 3 with ADS support? Might it be a 
solution to compile an install heimdal kerberos?
When Samba 3 is compiled with the installed heimdal kerberos, will it 
work with the SEAM from SUN?
Does anyone here have experience with this topic and a solution?

Kind regards.
Th. Müller

Thomas Müller  Phone: +49-711-88716-147
Department Manager ITFax: +49-711-88716-777
Christ GmbHMail: [EMAIL PROTECTED]
Mittlerer Pfad 9Internet: www.christ-wasser.de   
70499 Stuttgart
Germany


DISCLAIMER

Any opinions expressed in this eMail are those of the the individual and not necesserily
the company. This eMail and any files transmitted with it are confidential and solely for 
use of the intended recipient. If you are not the intended recipient or the person
responsible fo delivering to the intended recipient, be advised that you have received 
this eMail in error and that any use is strictly prohibited. If you have received this eMail 
in error, please advise the sender immediately by using the reply facility in your eMail
software.

We have taken every reasonable precaution to ensure that any attachement to this 
eMail is swept for viruses. However, we cannot accept liability for any damage sustained 
as a result of software viruses and advise you carry out your own virus checks before
opening any attachement.





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


Re: [Samba] Samba 3 / Solaris 8 / Kerberos

2003-09-25 Thread Patrik Gustavsson PS Sweden Senior Technical Consultant
On Solaris 8 and 9 I am using Kerberos from MIT and OpenLdap.

/Patrik

Thomas Müller wrote:

Hi,
I have a problem to compile Samba 3 with ADS support on Solaris. 
Unfortunatly, Solaris 8 doesn't  come with integrated kerberos 
support, so that configure doesn't find any support for kerberos. For 
Solaris 8 there is a package called SEAM 1.0.1 with provides kerberos 
functionality for Solaris, but the needed header file, i.e krb5.h, are 
not included and according to my informations from SUN, they will not 
ship the headers in future.

Do I have a chance to compile Samba 3 with ADS support? Might it be a 
solution to compile an install heimdal kerberos?
When Samba 3 is compiled with the installed heimdal kerberos, will it 
work with the SEAM from SUN?
Does anyone here have experience with this topic and a solution?

Kind regards.
Th. Müller

Thomas Müller  Phone: +49-711-88716-147
Department Manager ITFax: +49-711-88716-777
Christ GmbHMail: [EMAIL PROTECTED]
Mittlerer Pfad 9Internet: www.christ-wasser.de   
70499 Stuttgart
Germany


DISCLAIMER

Any opinions expressed in this eMail are those of the the individual 
and not necesserily
the company. This eMail and any files transmitted with it are 
confidential and solely for use of the intended recipient. If you are 
not the intended recipient or the person
responsible fo delivering to the intended recipient, be advised that 
you have received this eMail in error and that any use is strictly 
prohibited. If you have received this eMail in error, please advise 
the sender immediately by using the reply facility in your eMail
software.

We have taken every reasonable precaution to ensure that any 
attachement to this eMail is swept for viruses. However, we cannot 
accept liability for any damage sustained as a result of software 
viruses and advise you carry out your own virus checks before
opening any attachement.





--
In a world without fences who needs Gates
Patrik Gustavsson, Senior Technical Consultant
[EMAIL PROTECTED] Telephone: +46 60 671540
http://glen.swedenMobile: +46 70 3551040
SUN MICROSYSTEMS  Fax: +46 60 671550
--


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


[Samba] samba and solaris 9

2003-08-11 Thread Rayhaan, Shanaz
Hi there
 
I am installing Solaris 9. We currently have solaris 8 with samba on it.
 
Does anyone know how samba will be affected by installing solaris 9, and
which version of samba we should run on solaris 9?
 
Thankyou
 
S Rayhaan


This e-mail and any attachment is for authorised use by the intended recipient(s) 
only.  It may contain proprietary material, confidential information and/or be subject 
to legal privilege.  It should not be copied, disclosed to, retained or used by, any 
other party.  If you are not an intended recipient then please promptly delete this 
e-mail and any attachment and all copies and inform the sender.  Thank you.
-- 
To unsubscribe from this list go to the following URL and read the
instructions:  http://lists.samba.org/mailman/listinfo/samba


[Samba] Samba 2.2.8, Solaris 2.5.1, NIS+

2003-07-31 Thread Slawinski, Robert
First off, we are forced to using said versions and NIS+, so no flaming on
those issues please.
Also, the samba version we recieved was forced upon us and we are not
allowed to recompile,
however in a test environment we've compiled both with and without NIS+
support and the same
errors are generated.

When removing nisplus from group entry of nsswitch.conf samba works fine.
With nisplus
listed in nsswitch.conf group entry, the forked smbd process dies when
attemping to connect
with either a Windows machine or smbclient.  Here is the error from the
smbclient connection
attempt:

session setup failed: Call returned zero bytes (EOF)

(truss output)
incurred fault #6, FLTBOUNDS  %pc = 0xEF5DA2B0
  siginfo:  SIGSEGV SEGV_MAPERR addr=0x0084D62C
Recieved signal #11, SIGSEGV [caught]
   siginfo: SIGSEGV SEGV_MAPERR addr=0x0084D62C

from debug level 10 
smbd/sec_ctx.c:set_sec_ctx(329)
  setting sec ctx (0, 0) - sec_ctx_stack_ndx =1
lib/fault.c:fault_report(38)

smb.conf setup
[global]
workgroup = workgroup
security = SERVER
encrypt passwords = Yes
password server = pserver

Thanks for any helpful information. Preferred solution is to be able to use
nisplus listed in groups
entry of nsswitch.conf.

Rob


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


RE: [Samba] Samba 2.2.8, Solaris 2.5.1, NIS+ FOLLOWUP

2003-07-31 Thread Slawinski, Robert
In wbclient.c the call that causes signal 11 is the call to initgroups
in the winbind_initgroups function.

-Original Message-
First off, we are forced to using said versions and NIS+, so no flaming on
those issues please.
Also, the samba version we recieved was forced upon us and we are not
allowed to recompile,
however in a test environment we've compiled both with and without NIS+
support and the same
errors are generated.

When removing nisplus from group entry of nsswitch.conf samba works fine.
With nisplus
listed in nsswitch.conf group entry, the forked smbd process dies when
attemping to connect
with either a Windows machine or smbclient.  Here is the error from the
smbclient connection
attempt:

session setup failed: Call returned zero bytes (EOF)

(truss output)
incurred fault #6, FLTBOUNDS  %pc = 0xEF5DA2B0
  siginfo:  SIGSEGV SEGV_MAPERR addr=0x0084D62C
Recieved signal #11, SIGSEGV [caught]
   siginfo: SIGSEGV SEGV_MAPERR addr=0x0084D62C

from debug level 10 
smbd/sec_ctx.c:set_sec_ctx(329)
  setting sec ctx (0, 0) - sec_ctx_stack_ndx =1
lib/fault.c:fault_report(38)

smb.conf setup
[global]
workgroup = workgroup
security = SERVER
encrypt passwords = Yes
password server = pserver

Thanks for any helpful information. Preferred solution is to be able to use
nisplus listed in groups
entry of nsswitch.conf.

Rob


-- 
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] Samba 2.2.8, Solaris 2.5.1, NIS+ FOLLOWUP REDUX

2003-07-31 Thread Slawinski, Robert
We have the following fix that appears to work:

In the source/nsswitch/wb_client.c file modify the winbind_initgroups
function with the following change:
change the call initgroups(user,gid) to setgroups(1,gid)

Any comments or perhaps a better fix?


-Original Message-
From: Slawinski, Robert [mailto:[EMAIL PROTECTED]
Sent: Thursday, July 31, 2003 10:16 AM
To: '[EMAIL PROTECTED]'
Subject: RE: [Samba] Samba 2.2.8, Solaris 2.5.1, NIS+ FOLLOWUP


In wbclient.c the call that causes signal 11 is the call to initgroups
in the winbind_initgroups function.

-Original Message-
First off, we are forced to using said versions and NIS+, so no flaming on
those issues please.
Also, the samba version we recieved was forced upon us and we are not
allowed to recompile,
however in a test environment we've compiled both with and without NIS+
support and the same
errors are generated.

When removing nisplus from group entry of nsswitch.conf samba works fine.
With nisplus
listed in nsswitch.conf group entry, the forked smbd process dies when
attemping to connect
with either a Windows machine or smbclient.  Here is the error from the
smbclient connection
attempt:

session setup failed: Call returned zero bytes (EOF)

(truss output)
incurred fault #6, FLTBOUNDS  %pc = 0xEF5DA2B0
  siginfo:  SIGSEGV SEGV_MAPERR addr=0x0084D62C
Recieved signal #11, SIGSEGV [caught]
   siginfo: SIGSEGV SEGV_MAPERR addr=0x0084D62C

from debug level 10 
smbd/sec_ctx.c:set_sec_ctx(329)
  setting sec ctx (0, 0) - sec_ctx_stack_ndx =1
lib/fault.c:fault_report(38)

smb.conf setup
[global]
workgroup = workgroup
security = SERVER
encrypt passwords = Yes
password server = pserver

Thanks for any helpful information. Preferred solution is to be able to use
nisplus listed in groups
entry of nsswitch.conf.

Rob


-- 
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] Samba on Solaris 7 exhibits slow performance when switchfrom SECURITY=USER to SECURITY=DOMAIN on WinXP clients

2003-06-21 Thread Dany De Bontridder
 --- Thomas G. Tri, P.E. [EMAIL PROTECTED] a écrit :
 
 After the switch, the WinXP clients started
 experiencing a severe slowdown 
 after a short period of time. The time before the
 symptoms occur varies 
 from a couple of minutes to maybe an hour. If they
 reboot, the performance 
 is again normal.
 
 The slowness symptoms are exhibited as random, major
 delays in opening a 
 Word doc or Excel spreadsheet, navigating with
 Explorer, etc. (...)
May I suggest you to use smbd -i -d4 to make test and
to see the bottle neck ??

I've missed something: are you using security
level=user or domain ? If you were using DOMAIN, did
you receive a warning when you added the samba server
to the domain ?

D.

___
Do You Yahoo!? -- Une adresse @yahoo.fr gratuite et en français !
Yahoo! Mail : http://fr.mail.yahoo.com
-- 
To unsubscribe from this list go to the following URL and read the
instructions:  http://lists.samba.org/mailman/listinfo/samba


[Samba] Samba on Solaris 7 exhibits slow performance when switchfrom SECURITY=USER to SECURITY=DOMAIN on WinXP clients

2003-06-19 Thread Thomas G. Tri, P.E.
Dear List:

I have a network (about 30 PCs) that was working fine using SECURITY=USER. 
Last weekend we switched over to take advantage of a Win2K server (recently 
added to the network) to be used as a PDC, Active Directory, etc. The 
network clients are a mix of WinXP, Win2K-SP3, and WinNT-SP5.

After the switch, the WinXP clients started experiencing a severe slowdown 
after a short period of time. The time before the symptoms occur varies 
from a couple of minutes to maybe an hour. If they reboot, the performance 
is again normal.

The slowness symptoms are exhibited as random, major delays in opening a 
Word doc or Excel spreadsheet, navigating with Explorer, etc. The 
application will load at normal speed, the document loads, but then the 
hour glass cursor will stay present for up to 20 or 30 seconds or more 
before control is returned to the user.

Any help / insight would be greatly appreciated!

Misc Info:
Running Samba 2.2.8 on Sun Ultra 2 server with Solaris 7.
Running ftp to retrieve files from the server show performance above 
9MB/sec on a 40MB file
Copying files from the server to the WinXP PCs seems fine.
Running Samba at debug = 2 for that PC shows normal file opens / closes.
Running Samba at debug = 3 shows a lot of info, but none discernable as a 
problem (I'm not a SAMBA expert, but have been using for some 6 or 7 years 
now.)
Using local, not roaming profiles.
Win2K Server on a P3-450MHz PC - sole purpose is as a PDC and a license / 
software metering server

Settings were for SECURITY=USER
[global]
workgroup = SKEES
log file = /var/opt/samba/log.%m
max log size = 2000
name resolve order = host wins bcast
max open files = 1000
socket options = IPTOS_LOWDELAY TCP_NODELAY
os level = 255
preferred master = Yes
wins support = Yes
kernel oplocks = No
guest account = guest
create mask = 0660
directory mask = 0770
force directory mode = 02000
hosts allow = 192.168.254.
hosts deny = 0.0.0.0/0
short preserve case = No
Current Settings for USER=DOMAIN
[global]
security = 
DOMAIN   -Added
password server = * --Added
workgroup = NTDOMAIN--changed
log file = /var/opt/samba/log.%m
max log size = 2000
name resolve order = host wins bcast
max open files = 1000
socket options = IPTOS_LOWDELAY TCP_NODELAY
os level = 255
preferred master = Yes
wins support = Yes
kernel oplocks = No
guest account = guest
create mask = 0660
directory mask = 0770
force directory mode = 02000
hosts allow = 192.168.254.
hosts deny = 0.0.0.0/0
short preserve case = No
encrypt passwords = yes Added  

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


[Samba] Samba 2.2.8, Solaris, and LDAP Support

2003-03-19 Thread Joshua Bernstein
Hey all,

   In order to patch our solaris server to 2.2.8 I need to compilie 
with LDAP to support our current installation. But, low and behold, it 
simply won't compile. I've tried the binary packages but they don't seem 
to have LDAP supoprt. Also, the Samba proper CVS version as of last 
night yeilds the same error. I'd usually expect a missing library but I 
can't seem to find one. Any help would be appreciated. The relavent part 
of the output is below:

Using FLAGS =  -O  -I./popt -Iinclude -I./include -I./ubiqx 
-I./smbwrapper -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 
-DLOGFILEBASE=/usr/local/samba/var 
-DCONFIGFILE=/usr/local/samba/lib/smb.conf 
-DLMHOSTSFILE=/usr/local/samba/lib/lmhosts   
-DSWATDIR=/usr/local/samba/swat -DSBINDIR=/usr/local/samba/bin 
-DLOCKDIR=/usr/local/samba/var/locks 
-DCODEPAGEDIR=/usr/local/samba/lib/codepages 
-DDRIVERFILE=/usr/local/samba/lib/printers.def 
-DBINDIR=/usr/local/samba/bin -DPIDDIR=/usr/local/samba/var/locks 
-DLIBDIR=/usr/local/samba/lib -DHAVE_INCLUDES_H 
-DPASSWD_PROGRAM=/bin/passwd 
-DSMB_PASSWD_FILE=/usr/local/samba/private/smbpasswd 
-DTDB_PASSWD_FILE=/usr/local/samba/private/smbpasswd.tdb
Using FLAGS32 =  -O  -I./popt -Iinclude -I./include -I./ubiqx 
-I./smbwrapper -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 
-DLOGFILEBASE=/usr/local/samba/var 
-DCONFIGFILE=/usr/local/samba/lib/smb.conf 
-DLMHOSTSFILE=/usr/local/samba/lib/lmhosts   
-DSWATDIR=/usr/local/samba/swat -DSBINDIR=/usr/local/samba/bin 
-DLOCKDIR=/usr/local/samba/var/locks 
-DCODEPAGEDIR=/usr/local/samba/lib/codepages 
-DDRIVERFILE=/usr/local/samba/lib/printers.def 
-DBINDIR=/usr/local/samba/bin -DPIDDIR=/usr/local/samba/var/locks 
-DLIBDIR=/usr/local/samba/lib -DHAVE_INCLUDES_H 
-DPASSWD_PROGRAM=/bin/passwd 
-DSMB_PASSWD_FILE=/usr/local/samba/private/smbpasswd 
-DTDB_PASSWD_FILE=/usr/local/samba/private/smbpasswd.tdb
Using LIBS = -lsec -lgen -lsocket -lnsl  -ldl -lpam
Compiling passdb/pdb_ldap.c
passdb/pdb_ldap.c: In function `rebindproc':
passdb/pdb_ldap.c:243: `LDAP_SET_REBIND_PROC_ARGS' undeclared (first use 
in this function)
passdb/pdb_ldap.c:243: (Each undeclared identifier is reported only once
passdb/pdb_ldap.c:243: for each function it appears in.)
passdb/pdb_ldap.c: In function `ldap_connect_system':
passdb/pdb_ldap.c:321: `rebindproc_with_state' undeclared (first use in 
this function)
passdb/pdb_ldap.c: In function `pdb_getsampwnam':
passdb/pdb_ldap.c:938: warning: passing arg 2 of `standard_sub_advanced' 
discards qualifiers from pointer target type
make: *** [passdb/pdb_ldap.o] Error 1

--
Joshua Bernstein
Systems Administrator
College of Engineering
University of Arizona, Tucson, USA
--
To unsubscribe from this list go to the following URL and read the
instructions:  http://lists.samba.org/mailman/listinfo/samba


[Samba] Samba 2.2.7a, Solaris 5.8 and GCC 2.95.3 compilation warnings

2002-12-16 Thread Kees Damen
Hi,

I have just compiled and linked Samba 2.2.7a
on a Solaris 8 server with the GCC 2.95.3 
version compiler. I get the following compilation
warnings. Can i still use the software without a
expected crash?

Compiling passdb/secrets.c
passdb/secrets.c: In function `secrets_named_mutex':
passdb/secrets.c:287: warning: passing arg 2 of `tdb_lock_bystring'
discards qualifiers from 
pointer target type

Compiling lib/system.c
lib/system.c: In function `sys_readdir':
lib/system.c:331: warning: return from incompatible pointer type

Compiling lib/fsusage.c
lib/fsusage.c: In function `sys_fsusage':
lib/fsusage.c:127: warning: passing arg 2 of `statvfs64' from
incompatible pointer type

Compiling tdb/tdbutil.c
tdb/tdbutil.c: In function `tdb_chainlock_with_timeout':
tdb/tdbutil.c:46: warning: passing arg 1 of `tdb_set_lock_alarm'
discards qualifiers from poi
nter target type

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



Re: [Samba] Samba 2.2.7a, Solaris 5.8 and GCC 2.95.3 compilationwarnings

2002-12-16 Thread Gerald (Jerry) Carter
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

On Mon, 16 Dec 2002, Kees Damen wrote:

 Hi,
 
 I have just compiled and linked Samba 2.2.7a
 on a Solaris 8 server with the GCC 2.95.3 
 version compiler. I get the following compilation
 warnings. Can i still use the software without a
 expected crash?

Yes.  There are warnings caused by the use on const in some parameters.





cheers, jerry
 --
 Hewlett-Packard- http://www.hp.com
 SAMBA Team -- http://www.samba.org
 GnuPG Key   http://www.plainjoe.org/gpg_public.asc
 ISBN 0-672-32269-2 SAMS Teach Yourself Samba in 24 Hours 2ed
 You can never go home again, Oatman, but I guess you can shop there.  
--John Cusack - Grosse Point Blank (1997)

-BEGIN PGP SIGNATURE-
Version: GnuPG v1.2.0 (GNU/Linux)
Comment: For info see http://quantumlab.net/pine_privacy_guard/

iD8DBQE9/eJiIR7qMdg1EfYRAoVtAKDo+cG/EviNd+EEg3GrLWgr2P7oOQCeNttq
SyVsuui/ui3Q2AEQ3EZ86RM=
=QN+H
-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] samba 2.2.7, Solaris 8 64-bit mode

2002-11-22 Thread Jon Allingham
I've been running Samba on Solaris 8 pretty successfully, but (like many
others) have the 255 FD limit problem with ClearCase so I'm trying to
get  it to work in 64 bit mode.

I've experimented with Compiling in 64-bit mode rather using Forte 6.2,
however although basic operations with smbd/nmbd/smbclient seem to work,
swat crashes when compiled that way (when I try to access mymachine:901
I simply get back no data to display with the 64bit version of swat.

Because of this, I'm somewhat reluctant to put the 64-bit version into
production as I'm concerned about the overall stability. Earlier
versions (2.2.4 I think) when I tried this, smbd seemed to poof away
more often, although it was unclear what impact it had.

Has anyone else succeeded in compiling Samba in 64-bit mode with Forte?

For reference, I added: CFLAGS=-xarch=v9a when I ran the configure
command and the compile seemed to go well, although there were the usual
warnings that I also get in 32-biit mode.

To experiment, I tried installing the 32bit swat leaving everything else
64=bit, which sort of works - it properly manages the smb.conf file, but
isn't able to do any process monitoring.

smbclient seems to work ok, as does smbstatus.

Log files don't provide any insight. I get an occasional

[2002/11/21 17:21:38, 0] nmbd/nmbd_responserecordsdb.c:(235)
  find_response_record: response packet id 22634 received with
nomatching record.

But I got that earlier sometimes to.

--
Jon Allingham
Leapstone Systems
 

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



[Samba] Samba and Solaris and Linux

2002-10-31 Thread Scott Wrosch








Hello everyone,



Just kind of a generalized question, and looking more for
caveats than anything else. Were
getting ready to implement the latest and greatest release of Samba on one of
our Sun servers. Unfortunately, we havent
determined which one yet, but we only have two, so its not a big deal.


Anyways, Ive set up Samba successfully on Linux on multiple occasions,
the most recent being on a domain with a Win2k Server as the domain controller.



Given that Linux is a UNIX clone (more or less), are there
any caveats I should perhaps take heed to when setting up Samba on
Solaris? It will be set up for the
domain here.



Thanks,



Scott Wrosch

desk 248.333.7700 x227

pager 248.806.7657

text [EMAIL PROTECTED]

email [EMAIL PROTECTED]



Our greatest glory is not in never
falling

but in rising every time we
fall.-- Confucius










Re: [Samba] Samba for Solaris 8 SPARC version

2002-05-28 Thread Gerald (Jerry) Carter

On Mon, 27 May 2002, Henk van Gerwen PP wrote:

 Hello Samba,
 
 I need Samba for doing a test with Solaris 8 SPARC version.
 I have downloaded as far as I can judge the correct version (following the
 specifications on the download site).
 
 When I do a pkgadd -d . blablabla the system returns a message that it is
 not package.
 
 Please can somebody send me the correct information including the patches
 that are needed for Solaris 8.

These are compressed IIRC.  You need to run gunzip pkgfile.gz first.






cheers, jerry
 -
 Hewlett-Packard http://www.hp.com
 SAMBA Team   http://www.samba.org
 --http://www.plainjoe.org
 Sam's Teach Yourself Samba in 24 Hours 2ed.  ISBN 0-672-32269-2
 --I never saved anything for the swim back. Ethan Hawk in Gattaca--


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



Re: [Samba] SAMBA for Solaris 2.6

2002-04-24 Thread Gerald Carter

On Mon, 22 Apr 2002, Cullen, Jay wrote:

 Hello, We have a server running solaris 2.6 and am interested in using
 your samba product, is the samba-2.0-Solaris-2.6 package still
 available??

See one of the FTP mirrors listing on http://samba.org under
/pub/samba/Binary_Packages/solaris





cheers, jerry
 -
 Hewlett-Packard http://www.hp.com
 SAMBA Team   http://www.samba.org
 --http://www.plainjoe.org
 Sam's Teach Yourself Samba in 24 Hours 2ed.  ISBN 0-672-32269-2
 --I never saved anything for the swim back. Ethan Hawk in Gattaca--


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



[Samba] SAMBA for Solaris 2.6

2002-04-22 Thread Cullen, Jay

Hello,
We have a server running solaris 2.6 and am interested in using your samba
product,
is the samba-2.0-Solaris-2.6 package still available??

Thanks, Jay

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