From: Sean Crosby on
Which version of Samba are you using? I used to run a samba 3.2 domain,
which worked fine until Windows7 came along - when I tried accessing shares
using a Windows7 client, I received identical errors to you.

Upgrading Samba to 3.4 and above fixed it (with the same config file). If
you need to upgrade Samba on a RHEL5 box, I suggest using the Sernet repo -
http://ftp.sernet.de/pub/samba/

Sean

On Wed, Jul 7, 2010 at 5:51 PM, ****@ppu <appaji04cn002(a)gmail.com> wrote:

> Hi all,
>
> i have installed samba in RHEL 5 with likewise backend authentication .
> everything is working but am unable to access samba shares from windows 7
> and vista machines . It is simply giving error as "the specified server
> cannot perform the requested operation" I have spent many days working on
> this but no luck .
> please help me :(
>
> following is the log . when i try to access samba share from windows 7.
>
>
>
> [2010/07/07 12:53:44.907353, 5] auth/token_util.c:531(debug_nt_user_token)
> NT user token of user S-1-5-21-103778645-3415079703-3562334698-8645
> contains 58 SIDs
> SID[ 0]: S-1-5-21-103778645-3415079703-3562334698-8645
> SID[ 1]: S-1-5-21-103778645-3415079703-3562334698-513
> SID[ 2]: S-1-1-0
> SID[ 3]: S-1-5-2
> SID[ 4]: S-1-5-11
> SID[ 5]: S-1-5-21-103778645-3415079703-3562334698-1629
> SID[ 6]: S-1-5-21-103778645-3415079703-3562334698-1363
> SID[ 7]: S-1-5-21-103778645-3415079703-3562334698-8835
> SID[ 8]: S-1-5-21-103778645-3415079703-3562334698-6432
> SID[ 9]: S-1-5-21-103778645-3415079703-3562334698-8859
> SID[ 10]: S-1-5-21-103778645-3415079703-3562334698-9686
> SID[ 11]: S-1-5-21-103778645-3415079703-3562334698-6152
> SID[ 12]: S-1-5-21-103778645-3415079703-3562334698-6436
> SID[ 13]: S-1-5-21-103778645-3415079703-3562334698-23430
> SID[ 14]: S-1-5-21-103778645-3415079703-3562334698-23580
> SID[ 15]: S-1-5-21-103778645-3415079703-3562334698-6645
> SID[ 16]: S-1-5-21-103778645-3415079703-3562334698-12630
> SID[ 17]: S-1-5-21-103778645-3415079703-3562334698-1508
> SID[ 18]: S-1-5-21-103778645-3415079703-3562334698-6435
> SID[ 19]: S-1-5-21-103778645-3415079703-3562334698-6242
> SID[ 20]: S-1-5-21-103778645-3415079703-3562334698-1366
> SID[ 21]: S-1-5-21-103778645-3415079703-3562334698-1357
> SID[ 22]: S-1-5-21-103778645-3415079703-3562334698-9305
> SID[ 23]: S-1-5-21-103778645-3415079703-3562334698-1157
> SID[ 24]: S-1-5-21-858812337-1687452334-2804402542-32114
> SID[ 25]: S-1-5-21-858812337-1687452334-2804402542-113321
> SID[ 26]: S-1-5-21-858812337-1687452334-2804402542-34289
> SID[ 27]: S-1-5-21-858812337-1687452334-2804402542-34756
> SID[ 28]: S-1-5-21-858812337-1687452334-2804402542-285357
> SID[ 29]: S-1-5-21-858812337-1687452334-2804402542-285114
> SID[ 30]: S-1-5-21-858812337-1687452334-2804402542-247254
> SID[ 31]: S-1-5-21-858812337-1687452334-2804402542-285359
> SID[ 32]: S-1-5-21-858812337-1687452334-2804402542-237364
> SID[ 33]: S-1-5-21-858812337-1687452334-2804402542-249010
> SID[ 34]: S-1-5-21-858812337-1687452334-2804402542-118071
> SID[ 35]: S-1-5-21-858812337-1687452334-2804402542-145849
> SID[ 36]: S-1-5-21-858812337-1687452334-2804402542-202973
> SID[ 37]: S-1-5-21-1003178774-608786294-310601177-1045
> SID[ 38]: S-1-5-21-741502894-882328586-1537874043-1148
> SID[ 39]: S-1-5-21-858812337-1687452334-2804402542-113411
> SID[ 40]: S-1-5-21-858812337-1687452334-2804402542-234519
> SID[ 41]: S-1-5-21-858812337-1687452334-2804402542-284452
> SID[ 42]: S-1-5-21-858812337-1687452334-2804402542-268884
> SID[ 43]: S-1-5-21-858812337-1687452334-2804402542-132750
> SID[ 44]: S-1-5-21-858812337-1687452334-2804402542-1937
> SID[ 45]: S-1-5-21-858812337-1687452334-2804402542-85908
> SID[ 46]: S-1-5-21-858812337-1687452334-2804402542-9112
> SID[ 47]: S-1-5-21-858812337-1687452334-2804402542-8610
> SID[ 48]: S-1-5-21-858812337-1687452334-2804402542-9644
> SID[ 49]: S-1-5-21-858812337-1687452334-2804402542-284851
> SID[ 50]: S-1-5-21-858812337-1687452334-2804402542-100838
> SID[ 51]: S-1-5-21-858812337-1687452334-2804402542-113129
> SID[ 52]: S-1-5-21-858812337-1687452334-2804402542-113131
> SID[ 53]: S-1-5-21-858812337-1687452334-2804402542-281328
> SID[ 54]: S-1-5-21-858812337-1687452334-2804402542-259319
> SID[ 55]: S-1-5-21-1098471124-1313495073-1536833037-1436
> SID[ 56]: S-1-5-21-456686318-137247402-314601362-9181
> SID[ 57]: S-1-22-1-1192239557
> SE_PRIV 0x0 0x0 0x0 0x0
> [2010/07/07 12:53:44.908018, 5]
> auth/token_util.c:551(debug_unix_user_token)
> UNIX token of user 1192239557
> Primary group is 1192231425 and contains 0 supplementary groups
> [2010/07/07 12:53:44.908069, 5] smbd/uid.c:354(change_to_user)
> change_to_user uid=(0,1192239557) gid=(0,1192231425)
> [2010/07/07 12:53:44.908144, 10] smbd/service.c:163(set_conn_connectpath)
> set_conn_connectpath: service IPC$, connectpath = /tmp
> [2010/07/07 12:53:44.908178, 3] smbd/service.c:1069(make_connection_snum)
> hst-pcs-2000076 (172.16.2.143) connect to service IPC$ initially as user
> RAJU\pa72635 (uid=1192239557, gid=1192231425) (pid 20602)
> [2010/07/07 12:53:44.908211, 3] smbd/sec_ctx.c:310(set_sec_ctx)
> setting sec ctx (0, 0) - sec_ctx_stack_ndx = 0
> [2010/07/07 12:53:44.908236, 5] auth/token_util.c:525(debug_nt_user_token)
> NT user token: (NULL)
> [2010/07/07 12:53:44.908259, 5]
> auth/token_util.c:551(debug_unix_user_token)
> UNIX token of user 0
> Primary group is 0 and contains 0 supplementary groups
> [2010/07/07 12:53:44.908295, 5] smbd/uid.c:369(change_to_root_user)
> change_to_root_user: now uid=(0,0) gid=(0,0)
> [2010/07/07 12:53:44.908329, 3] smbd/reply.c:846(reply_tcon_and_X)
> tconX service=IPC$
> [2010/07/07 12:53:44.931416, 0] lib/util_sock.c:474(read_fd_with_timeout)
> [2010/07/07 12:53:44.932308, 0]
> lib/util_sock.c:1432(get_peer_addr_internal)
> getpeername failed. Error was Transport endpoint is not connected
> read_fd_with_timeout: client 0.0.0.0 read error = Connection reset by
> peer.
> [2010/07/07 12:53:44.946977, 10] smbd/process.c:286(receive_smb_raw_talloc)
> receive_smb_raw: NT_STATUS_CONNECTION_RESET
> [2010/07/07 12:53:44.947140, 3] smbd/sec_ctx.c:310(set_sec_ctx)
> setting sec ctx (0, 0) - sec_ctx_stack_ndx = 0
> [2010/07/07 12:53:44.947172, 5] auth/token_util.c:525(debug_nt_user_token)
> NT user token: (NULL)
> [2010/07/07 12:53:44.947197, 5]
> auth/token_util.c:551(debug_unix_user_token)
> UNIX token of user 0
> Primary group is 0 and contains 0 supplementary groups
> [2010/07/07 12:53:44.947252, 5] smbd/uid.c:369(change_to_root_user)
> change_to_root_user: now uid=(0,0) gid=(0,0)
> [2010/07/07 12:53:44.947323, 4] smbd/vfs.c:721(vfs_ChDir)
> vfs_ChDir to /tmp
> [2010/07/07 12:53:44.947407, 3] smbd/sec_ctx.c:310(set_sec_ctx)
> setting sec ctx (0, 0) - sec_ctx_stack_ndx = 0
> [2010/07/07 12:53:44.947431, 5] auth/token_util.c:525(debug_nt_user_token)
> NT user token: (NULL)
> [2010/07/07 12:53:44.947455, 5]
> auth/token_util.c:551(debug_unix_user_token)
> UNIX token of user 0
> Primary group is 0 and contains 0 supplementary groups
> [2010/07/07 12:53:44.947488, 5] smbd/uid.c:369(change_to_root_user)
> change_to_root_user: now uid=(0,0) gid=(0,0)
> [2010/07/07 12:53:44.947514, 3] smbd/service.c:1250(close_cnum)
> hst-pcs-2000076 (172.16.2.143) closed connection to service IPC$
> [2010/07/07 12:53:44.947569, 3] smbd/connection.c:31(yield_connection)
> Yielding connection to IPC$
> [2010/07/07 12:53:44.947659, 10] lib/dbwrap_tdb.c:100(db_tdb_fetch_locked)
> Locking key 7A500000FFFFFFFF0100
> [2010/07/07 12:53:44.947712, 10] lib/dbwrap_tdb.c:129(db_tdb_fetch_locked)
> Allocated locked data 0x0x8b977f8
> [2010/07/07 12:53:44.947750, 10] lib/dbwrap_tdb.c:42(db_tdb_record_destr)
> Unlocking key 7A500000FFFFFFFF0100
> [2010/07/07 12:53:44.947845, 4] smbd/vfs.c:721(vfs_ChDir)
> vfs_ChDir to /
> [2010/07/07 12:53:44.947871, 3] smbd/sec_ctx.c:310(set_sec_ctx)
> setting sec ctx (0, 0) - sec_ctx_stack_ndx = 0
> [2010/07/07 12:53:44.948128, 5] auth/token_util.c:525(debug_nt_user_token)
> NT user token: (NULL)
> [2010/07/07 12:53:44.948151, 5]
> auth/token_util.c:551(debug_unix_user_token)
> UNIX token of user 0
> Primary group is 0 and contains 0 supplementary groups
> [2010/07/07 12:53:44.948185, 5] smbd/uid.c:369(change_to_root_user)
> change_to_root_user: now uid=(0,0) gid=(0,0)
> [2010/07/07 12:53:44.948231, 10] lib/dbwrap_tdb.c:100(db_tdb_fetch_locked)
> Locking key 49442F32303630322F31
> [2010/07/07 12:53:44.948427, 10] lib/dbwrap_tdb.c:129(db_tdb_fetch_locked)
> Allocated locked data 0x0x8baeb80
> [2010/07/07 12:53:44.948462, 10] lib/dbwrap_tdb.c:42(db_tdb_record_destr)
> Unlocking key 49442F32303630322F31
> [2010/07/07 12:53:44.948552, 3] smbd/connection.c:31(yield_connection)
> Yielding connection to
> [2010/07/07 12:53:44.948641, 10] lib/dbwrap_tdb.c:100(db_tdb_fetch_locked)
> Locking key 7A500000FFFFFFFFFFFF
> [2010/07/07 12:53:44.948679, 10] lib/dbwrap_tdb.c:129(db_tdb_fetch_locked)
> Allocated locked data 0x0x8b977f8
> [2010/07/07 12:53:44.948713, 10] lib/dbwrap_tdb.c:42(db_tdb_record_destr)
> Unlocking key 7A500000FFFFFFFFFFFF
> [2010/07/07 12:53:44.949183, 3] smbd/server.c:902(exit_server_common)
> Server exit (failed to receive smb request)
>
> following is my samba configuration file.
>
> # Samba config file created using SWAT
> # from UNKNOWN (0.0.0.0)
> # Date: 2010/06/28 18:38:08
>
> [global]
> log file = /var/log/samba/logs/%m
> idmap gid = 500-999999999999999999
> interfaces = 127.0.0.1, eth0
> idmap backend = libwbclient
> realm = RAJU.AD <http://raju.ad/>
> idmap config all:readonly = yes
> idmap config all:backend = lwicompat_v4
> idmap config all:default = yes
> netbios aliases = hsglinuxfps001
> idmap uid = 500-999999999999999999
> workgroup = RAJU
> os level = 20
> printcap name = cups
> security = ads
> bind interfaces only = Yes
> log level = 10
>
> [password storage:tdb]
> path = /opt/likewise/lib/liblwps-tdb.so
> browseable = No
>
> [ADMT]
> comment = share created after likewise installation
> path = "/tmp/Backup/admt"
> valid users = @"RAJU\domain users"
> read only = No
> create mask = 0777
> directory mask = 0777
>
>
>
> waiting for help :)
> --
> 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