Go Back   Pro/Forums > ProCooling Technical Discussions > Snap Server / NAS / Storage Technical Goodies
Password
Register FAQ Members List Calendar Chat

Snap Server / NAS / Storage Technical Goodies The Home for Snap Server Hacking, Storage and NAS info. And NAS / Snap Classifides

Reply
Thread Tools
Unread 10-16-2006, 03:57 PM   #26
blue68f100
Thermophile
 
blue68f100's Avatar
 
Join Date: Jul 2005
Location: Plano, TX
Posts: 3,135
Default Re: AD users not being updated on snap

Actually he has 8 fingers and 2 thumbs.
__________________
1 Snap 4500 - 1.0T (4 x 250gig WD2500SB RE), Raid5,
1 Snap 4500 - 1.6T (4 x 400gig Seagates), Raid5,
1 Snap 4200 - 4.0T (4 x 2gig Seagates), Raid5, Using SATA converts from Andy

Link to SnapOS FAQ's http://forums.procooling.com/vbb/showthread.php?t=13820
blue68f100 is offline   Reply With Quote
Unread 10-16-2006, 04:08 PM   #27
Hallis
Cooling Savant
 
Hallis's Avatar
 
Join Date: Oct 2001
Location: Dallas, Tx
Posts: 469
Default Re: AD users not being updated on snap

Quote:
Originally Posted by blue68f100
Actually he has 8 fingers and 2 thumbs.
That we know of.
__________________
Snap Servers:

1100 - 1x300gb Seagate Baracuda (SnapOS Version 3.4.807)
2200 - 2x80gb Maxtor (one dead) (SnapOS 4.0.860)
Hallis is offline   Reply With Quote
Unread 10-20-2006, 11:07 PM   #28
madeinoz
Cooling Neophyte
 
Join Date: Oct 2006
Location: Australia
Posts: 3
Default Re: AD users not being updated on snap

Quote:
Originally Posted by madeinoz
I had a number of short powerfailures today after power being off most of the night after my UPS depleted, so my 4500 snap got to cycle a couple of times before batteries got to recharge Snap rebooted no problems.

However now I have an issue where Active directory users/ groups are not being propagated to the snap server, i.e. I add a new user on active directory and it the user does not does not show up in the snapserver. I have removed the snap from the active directory and re-added still no go.

All my users except one can access the snapserver as per normal, thats fine for the time being (except for that one user hehe), however it will become an issue if I need to change groups add/remove users etc.

I'm running 4500 1TB OS 4.2.054
Ok seem to have found the problem.

for anyone else that has the problem.

I initiall tried recovering via the DRImage, but this kept on failing, So I started poking around in the logfiles via the shell.

In the /var/log/samba/log.winbindd I was getting alot of "tdb(/var/lock/samba/winbindd_idmap.tdb): rec_read bad magic 0x42424242 at offset=32280" errors.

So looks like the winbind database got corrupt! I ended up deleting all the files under /var/lock/samba and restarted samba on the snapserver, this re-creates all those files. Snapserver is now talking to the Active directory again

WARNING doing this stuffs up all userID mappings on the AD on the snapserver, so I went back to factory default ACLs on volume and then had to reset all directory user permisisions for all relevenant Active directory groups/ users etc..

All is working now
madeinoz is offline   Reply With Quote
Unread 10-21-2006, 01:07 AM   #29
Phoenix32
Thermophile
 
Phoenix32's Avatar
 
Join Date: May 2006
Location: Yakima, WA
Posts: 1,282
Default Re: AD users not being updated on snap

Glad you found it, and thank you for providing info for future use...
Phoenix32 is offline   Reply With Quote
Unread 01-03-2007, 04:10 PM   #30
CuznMark
Cooling Neophyte
 
Join Date: Jan 2007
Location: Paris
Posts: 2
Default Re: AD users not being updated on snap

Ok I hate to beat a dead horse. I am in a bind and this looks like the place to help me.. I am havign the same problem with teh AD users not showing up.. I have a Snap 2000. I am trying to find an answer to fix it. but I am not having any luck. snapos 4.0.860.

thanx for any help.. I did find something with the debug commands. It showed me that the large domain list was disabled.. I dunno how to enable it. there is no help command for it.

Mark
CuznMark is offline   Reply With Quote
Unread 01-03-2007, 05:36 PM   #31
blue68f100
Thermophile
 
blue68f100's Avatar
 
Join Date: Jul 2005
Location: Plano, TX
Posts: 3,135
Default Re: AD users not being updated on snap

If you are on OS 4.0.860 it's can be found under Network Settings -> Microsoft, just change over to Domain then advanced options. That's all I know.
__________________
1 Snap 4500 - 1.0T (4 x 250gig WD2500SB RE), Raid5,
1 Snap 4500 - 1.6T (4 x 400gig Seagates), Raid5,
1 Snap 4200 - 4.0T (4 x 2gig Seagates), Raid5, Using SATA converts from Andy

Link to SnapOS FAQ's http://forums.procooling.com/vbb/showthread.php?t=13820
blue68f100 is offline   Reply With Quote
Unread 01-03-2007, 08:09 PM   #32
CuznMark
Cooling Neophyte
 
Join Date: Jan 2007
Location: Paris
Posts: 2
Default Re: AD users not being updated on snap

that was all set.. well I finally figured it out.. Our DC was corrupt and they have been working on it.. Hopefully it will be working in the morning

thanx again.
mark
CuznMark is offline   Reply With Quote
Unread 03-26-2008, 04:52 AM   #33
pulsarxss
Cooling Neophyte
 
pulsarxss's Avatar
 
Join Date: Mar 2008
Location: Italy
Posts: 4
Default Re: AD users not being updated on snap

Quote:
Originally Posted by madeinoz
Ok seem to have found the problem.

for anyone else that has the problem.

I initiall tried recovering via the DRImage, but this kept on failing, So I started poking around in the logfiles via the shell.

In the /var/log/samba/log.winbindd I was getting alot of "tdb(/var/lock/samba/winbindd_idmap.tdb): rec_read bad magic 0x42424242 at offset=32280" errors.

So looks like the winbind database got corrupt! I ended up deleting all the files under /var/lock/samba and restarted samba on the snapserver, this re-creates all those files. Snapserver is now talking to the Active directory again

WARNING doing this stuffs up all userID mappings on the AD on the snapserver, so I went back to factory default ACLs on volume and then had to reset all directory user permisisions for all relevenant Active directory groups/ users etc..

All is working now

How can I access /var/lock/samba/ directory on a SnapServer 520 with GuardianOS 4.4.049sp3?

Thankx,
Pulsar
pulsarxss is offline   Reply With Quote
Unread 03-26-2008, 06:11 AM   #34
blue68f100
Thermophile
 
blue68f100's Avatar
 
Join Date: Jul 2005
Location: Plano, TX
Posts: 3,135
Default Re: AD users not being updated on snap

You can use the debug page. You have to use full path cmd's since you can not migrate down to a directory. You may want to see and stop process before you start deleting things. cp works, just need to locate you directory and copy files to it, so you can look at them. Putty no long works as it did with older versions. You can no longer get admin rights, the reason you have to use the debug page.

ls /var/lock/samba/


the cd does not work
__________________
1 Snap 4500 - 1.0T (4 x 250gig WD2500SB RE), Raid5,
1 Snap 4500 - 1.6T (4 x 400gig Seagates), Raid5,
1 Snap 4200 - 4.0T (4 x 2gig Seagates), Raid5, Using SATA converts from Andy

Link to SnapOS FAQ's http://forums.procooling.com/vbb/showthread.php?t=13820
blue68f100 is offline   Reply With Quote
Unread 03-26-2008, 06:36 AM   #35
pulsarxss
Cooling Neophyte
 
pulsarxss's Avatar
 
Join Date: Mar 2008
Location: Italy
Posts: 4
Default Re: AD users not being updated on snap

Quote:
Originally Posted by blue68f100
You can use the debug page. You have to use full path cmd's since you can not migrate down to a directory. You may want to see and stop process before you start deleting things. cp works, just need to locate you directory and copy files to it, so you can look at them. Putty no long works as it did with older versions. You can no longer get admin rights, the reason you have to use the debug page.

ls /var/lock/samba/


the cd does not work
Thank's blue68f100.

Access to this page is from ipaddress/config/debug (SnapOS) also for GuardianOS?

I'll give a try in next hour and I post results.

Hold on for a further help

TIA,
Pulsar
pulsarxss is offline   Reply With Quote
Unread 03-26-2008, 08:07 AM   #36
pulsarxss
Cooling Neophyte
 
pulsarxss's Avatar
 
Join Date: Mar 2008
Location: Italy
Posts: 4
Default Re: AD users not being updated on snap

According to blue68f100 I used debug page from:

http://<snap_name>/admin/debug.cgi

and then simply run this command

rm /var/lock/samba/winbindd_idmap.tdb

After this I restart the Snap and all went well!

Hope this help someone else.

Pulsar(xss)
pulsarxss is offline   Reply With Quote
Unread 05-22-2009, 10:12 AM   #37
anklee
Cooling Neophyte
 
Join Date: May 2009
Location: North Carolina
Posts: 1
Default Re: AD users not being updated on snap

I joined this forum to let you know that this post helped me resolve this issue after trying to correct this problem for 2 days. I had searched and tried so many suggestions that I was about to just give up. Finally I found your post. I have a newer OS so I had to go into debug using: http://<snap_name>/sadmin/debug.cgi. Thanks again so much.
anklee is offline   Reply With Quote
Reply


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Forum Jump


All times are GMT -5. The time now is 05:20 AM.


Powered by vBulletin® Version 3.7.4
Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
(C) 2005 ProCooling.com
If we in some way offend you, insult you or your people, screw your mom, beat up your dad, or poop on your porch... we're sorry... we were probably really drunk...
Oh and dont steal our content bitches! Don't give us a reason to pee in your open car window this summer...